3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'CURRENT: '.current( array_filter([3=>'three',7=>'seven'], function($e){ return stripos($e,'ee'); } ) ).PHP_EOL; echo 'RESET: '.reset( array_filter([3=>'three',7=>'seven'], function($e){ return stripos($e,'ee'); } ) );

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.1rc30.0000.00816.80
8.1rc20.0000.00716.96
8.1rc10.0040.00416.87
8.0.120.0000.00716.74
8.0.110.0040.00416.95
8.0.100.0040.00416.84
8.0.90.0030.00516.74
8.0.80.0120.00316.91
8.0.70.0040.00416.96
8.0.60.0000.00716.76
8.0.50.0040.00416.69
8.0.30.0090.00917.06
8.0.20.0120.00717.40
8.0.10.0020.00517.09
8.0.00.0110.01216.85
7.4.250.0030.00316.30
7.4.240.0030.00316.46
7.4.230.0000.00716.64
7.4.220.0040.00416.61
7.4.210.0150.00516.43
7.4.200.0070.00016.53
7.4.160.0120.00916.48
7.4.140.0090.00917.86
7.4.130.0030.01516.39
7.4.120.0070.01116.43
7.4.110.0060.01016.52
7.4.100.0120.00616.42
7.4.90.0120.00916.61
7.4.80.0120.00619.39
7.4.70.0040.01316.63
7.4.60.0070.01016.50
7.4.50.0050.00516.52
7.4.40.0030.01316.58
7.4.00.0070.00814.78
7.3.310.0030.00316.18
7.3.300.0070.00016.33
7.3.290.0060.00016.33
7.3.280.0080.01016.32
7.3.260.0120.00616.46
7.3.240.0100.00916.35
7.3.230.0100.01016.52
7.3.210.0070.01016.37
7.3.200.0080.00816.20
7.3.190.0130.01016.52
7.3.180.0160.00016.38
7.3.170.0070.01016.62
7.3.160.0160.00016.36
7.3.120.0040.01814.75
7.3.110.0160.00314.75
7.3.100.0070.00314.64
7.3.90.0030.01614.67
7.3.80.0060.00614.96
7.3.70.0000.01114.71
7.3.60.0070.00314.71
7.3.50.0030.01114.68
7.3.40.0030.01314.93
7.3.30.0080.00614.97
7.3.20.0030.01016.56
7.3.10.0020.01216.68
7.3.00.0080.00716.55
7.2.330.0100.00716.59
7.2.320.0090.00916.46
7.2.310.0070.01016.64
7.2.300.0040.01716.21
7.2.290.0100.00716.41
7.2.250.0000.01615.03
7.2.240.0070.01415.09
7.2.230.0120.00815.18
7.2.220.0070.01114.91
7.2.210.0060.00914.89
7.2.200.0060.00615.08
7.2.190.0060.00614.76
7.2.180.0030.00615.05
7.2.170.0060.00915.07
7.2.130.0030.00717.01
7.2.120.0030.00916.62
7.2.110.0000.01316.78
7.2.100.0070.00716.96
7.2.90.0100.00716.98
7.2.80.0140.00416.71
7.2.70.0050.00915.62
7.2.60.0030.01115.76
7.2.50.0060.01115.72
7.2.40.0120.00715.97
7.2.30.0920.00715.69
7.2.20.0020.01315.51
7.2.10.0100.00615.91
7.2.00.0380.01015.68
7.1.330.0030.01015.88
7.1.320.0000.01115.86
7.1.310.0080.00815.80
7.1.300.0060.00615.74
7.1.290.0070.00815.87
7.1.280.0070.00715.32
7.1.270.0030.01015.64
7.1.260.0000.01715.60
7.1.250.0090.00315.68
7.1.200.0060.00915.80
7.1.170.0270.00813.64
7.1.160.0420.01113.78
7.1.150.0130.00313.80
7.1.140.0070.00713.89
7.1.130.0070.00713.46
7.1.120.0120.00413.72
7.1.110.0090.00613.63
7.1.100.2040.00613.75
7.1.90.0270.00313.77
7.1.80.0180.00013.74
7.1.70.0040.00913.76
7.1.60.0250.01831.59
7.1.50.0290.01331.32
7.1.40.0270.01431.82
7.1.30.0240.00931.83
7.1.20.0230.01031.59
7.1.10.0590.00713.63
7.1.00.0740.00913.80

preferences:
47.47 ms | 455 KiB | 5 Q