3v4l.org

run code in 300+ PHP versions simultaneously
<?php $values = [ '' => 'empty', 'foo' => 'bar', ]; var_export(isset($values[null]));
Output for 8.5.0 - 8.5.2
Deprecated: Using null as an array offset is deprecated, use an empty string instead in /in/kkPK5 on line 8 true
Output for 8.3.0 - 8.3.29, 8.4.1 - 8.4.17
true

preferences:
57.97 ms | 407 KiB | 5 Q