The above line references the variable $json, which is not defined. I believe it should be replaced with false. This results in the following warning being logged:
PHP message: PHP Warning: Undefined variable $json in /var/www/html/index.php on line 27
https://github.com/AndrewPaglusch/FlashPaper/blob/66d036bfb74d4f802d5485c728b3af627295d8a1/index.php#L27
The above line references the variable
$json
, which is not defined. I believe it should be replaced withfalse
. This results in the following warning being logged: