Last active
January 22, 2018 05:53
-
-
Save GabLeRoux/0ed36fdf5bdafbd07dda79da5f4b3b74 to your computer and use it in GitHub Desktop.
Revisions
-
GabLeRoux revised this gist
Jan 19, 2018 . No changes.There are no files selected for viewing
-
GabLeRoux revised this gist
Jan 19, 2018 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -18,6 +18,8 @@ Notice: Undefined variable: undefined_shit in /Users/gableroux/nope.php on line 0please don't print ```  ``` php --version ``` -
GabLeRoux revised this gist
Jan 19, 2018 . No changes.There are no files selected for viewing
-
GabLeRoux created this gist
Jan 19, 2018 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,29 @@ `nope.php`: ```php <?php echo "some undefined variable" + $undefined_shit; echo "please don't print"; ``` ```bash php nope.php ``` Output: ``` PHP Notice: Undefined variable: undefined_shit in /Users/gableroux/nope.php on line 3 Notice: Undefined variable: undefined_shit in /Users/gableroux/nope.php on line 3 0please don't print ``` ``` php --version ``` ``` PHP 7.0.27 (cli) (built: Jan 5 2018 12:26:39) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies ```