3v4l.org

run code in 300+ PHP versions simultaneously
<?php define ( "THE_CONST" , 3 ) ; function b ( $a = array ( E_ALL => THE_CONST ) ) { print_r ( new ArrayIterator !=b () , c ) ; foreach ( bar as $$d ) $e = days * 4 * 0 ; } b () ;
based on IrYCq

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.0.0beta30.0660.04680.23
8.0.0beta10.0610.07879.98
8.0.0alpha30.0560.06579.87
8.0.0alpha20.0580.07079.78
8.0.0alpha10.0930.07479.82
7.4.100.0520.06579.96
7.4.90.0790.03979.78
7.4.80.0690.07179.97
7.4.70.0830.05979.72
7.4.60.0590.06679.99
7.4.50.0770.04579.73
7.4.40.0650.05979.83
7.4.30.0630.05680.00
7.4.20.0470.07180.00
7.4.10.0810.04279.85
7.4.00.0600.05680.06
7.3.210.0490.07579.83
7.3.200.0750.04480.04
7.3.190.0550.06179.57
7.3.180.0740.04579.78
7.3.170.0810.03979.64
7.3.160.0740.06779.89
7.3.150.0590.08579.81
7.3.140.0720.04979.79
7.3.130.0780.04279.76
7.3.120.0590.05979.95
7.3.110.1390.15179.98
7.3.100.0840.08479.54
7.3.90.0640.05479.99
7.3.80.0590.06379.83
7.3.70.0440.07179.73
7.3.60.0560.06079.81
7.3.50.0940.07779.55
7.3.40.0610.05479.64
7.3.30.0420.07279.60
7.3.20.1160.04779.54
7.3.10.1470.06579.93
7.3.00.1030.04279.78
7.2.330.0510.06880.18
7.2.320.0740.04379.70
7.2.310.0740.06079.79
7.2.300.0770.05079.92
7.2.290.0760.06680.15
7.2.280.0830.03379.64
7.2.270.0520.06279.79
7.2.260.0690.04379.86
7.2.250.0840.04079.82
7.2.240.1400.13179.73
7.2.230.1050.06879.95
7.2.220.0670.04779.95
7.2.210.0810.07880.01
7.2.200.0820.02780.02
7.2.190.0700.03980.00
7.2.180.0500.06779.74
7.2.170.0710.04779.94
7.2.160.0760.03780.04
7.2.150.1110.04480.01
7.2.140.0900.05879.89
7.2.130.0740.08579.93
7.2.120.0870.05579.95
7.2.110.0790.08579.90
7.2.100.0660.09079.98
7.2.90.0770.05780.03
7.2.80.0690.05079.86
7.2.70.0920.06079.80
7.2.60.0800.07480.10
7.2.50.0690.05979.93
7.2.40.0890.03680.03
7.2.30.0900.06879.79
7.2.20.1100.05779.84
7.2.10.0720.05379.92
7.2.00.0660.06279.95