3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ttt = [s,d,f]; var_dump(!count($ttt));
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.7
Fatal error: Uncaught Error: Undefined constant "s" in /in/mvQ3C:3 Stack trace: #0 {main} thrown in /in/mvQ3C on line 3
Process exited with code 255.
Output for 7.3.24 - 7.3.33, 7.4.12 - 7.4.33
Warning: Use of undefined constant s - assumed 's' (this will throw an Error in a future version of PHP) in /in/mvQ3C on line 3 Warning: Use of undefined constant d - assumed 'd' (this will throw an Error in a future version of PHP) in /in/mvQ3C on line 3 Warning: Use of undefined constant f - assumed 'f' (this will throw an Error in a future version of PHP) in /in/mvQ3C on line 3 bool(false)
Output for 7.1.5
Notice: Use of undefined constant s - assumed 's' in /in/mvQ3C on line 3 Notice: Use of undefined constant d - assumed 'd' in /in/mvQ3C on line 3 Notice: Use of undefined constant f - assumed 'f' in /in/mvQ3C on line 3 bool(false)

preferences:
107.88 ms | 402 KiB | 120 Q