Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (10 sloc) 300 Bytes
<?php
/** @noinspection PhpUndefinedVariableInspection */
error_reporting(0);
$array = [
// this array doesn't have any key
];
// this line will emit warning
var_dump($array['missing-key']);
// this line will also emit warning
var_dump($non_existing_var);
You can’t perform that action at this time.