Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (9 sloc) 275 Bytes
<?php
/** @noinspection PhpUndefinedVariableInspection */
$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.