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.3
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.30, 8.4.1 - 8.4.18
true

preferences:
47.2 ms | 407 KiB | 5 Q