3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace My\NS; const STDIN = 'f00'; echo STDIN, PHP_EOL; echo \STDIN, PHP_EOL; namespace My\Other; echo STDIN, PHP_EOL; echo \My\NS\STDIN, PHP_EOL;

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.5.00.0100.01116.58
8.4.150.0130.00719.59
8.4.140.0050.00417.63
8.4.90.0080.01217.68
8.3.280.0110.00818.36
8.3.270.0140.00916.61
8.3.180.0120.00718.41
8.3.50.0090.01018.48

preferences:
35.47 ms | 403 KiB | 5 Q