3v4l.org

run code in 300+ PHP versions simultaneously
<?php fext(); function fext(){ $GLOBALS['var1']=5; echo fint(); return 1; }; function fint(){ $GLOBALS['var1']=$GLOBALS['var1']+7; return $GLOBALS['var1']; };

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.3.70.0080.00818.18
8.3.60.0110.00716.73
8.3.50.0120.00318.23
8.3.40.0140.00720.34
8.3.30.0100.00721.89
8.3.20.0030.00724.18
8.3.10.0050.00324.66
8.3.00.0140.00628.09
8.2.190.0140.00016.58
8.2.180.0070.01016.63
8.2.170.0070.00718.96
8.2.160.0070.01422.96
8.2.150.0080.00025.66
8.2.140.0000.00824.66
8.2.130.0090.00028.09
8.2.120.0070.00028.09
8.1.280.0140.00325.92
8.1.270.0030.00620.72
8.1.260.0050.00228.09
8.1.250.0060.00328.09

preferences:
41.15 ms | 401 KiB | 5 Q