3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = null; $a ??= true; $a = [ ['a' => true, 'b' => true], ['a' => false, 'b' => true], ['a' => true, 'b' => true], ['a' => false, 'b' => true] ]; $a = 1; $a += 2 + 3; $a = null; var_dump($a->getTest() ?? false);

preferences:
31.06 ms | 402 KiB | 5 Q