Created
          May 21, 2010 01:39 
        
      - 
      
- 
        Save pope/408361 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | PHP Notice: Undefined index: invalid in .../bah.php on line 4 | |
| PHP Stack trace: | |
| PHP 1. {main}() .../bah.php:0 | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php | |
| $array = array(); | |
| echo @$array['invalid']; | |
| echo "\n"; | |
| if (isset($array, 'invalid')) { | |
| echo $array['invalid']; | |
| echo "\n"; | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment