3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test { public $inst="Test"; } print $(new test())->inst;

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)
5.4.320.3370.04019.25
5.4.310.3130.05018.84
5.4.300.2870.04319.05
5.4.290.2470.04718.84
5.4.280.3300.03719.30
5.4.270.2800.03019.13
5.4.260.2900.03018.95
5.4.250.3070.03719.08
5.4.240.3000.04319.09
5.4.230.2730.03319.23
5.4.220.2530.03719.05
5.4.210.2500.04019.19
5.4.200.3330.03318.97
5.4.190.3400.03319.32
5.4.180.3400.03719.06
5.4.170.3470.03719.18
5.4.160.3230.04018.85
5.4.150.3330.04019.14
5.4.140.3330.03716.32
5.4.130.3300.04016.50
5.4.120.3330.03316.37
5.4.110.3330.04016.45
5.4.100.3200.03316.53
5.4.90.3330.04016.51
5.4.80.3530.03016.54
5.4.70.3370.03016.34
5.4.60.3730.03016.55
5.4.50.3830.03716.37
5.4.40.3270.03716.52
5.4.30.3400.03016.36
5.4.20.3270.03716.51
5.4.10.3330.03716.36
5.4.00.3170.04015.85
5.3.290.3070.04314.77
5.3.280.3370.04014.50
5.3.270.3430.03714.52
5.3.260.2930.04314.52
5.3.250.3070.04014.58
5.3.240.3370.03314.51
5.3.230.2800.03714.67
5.3.220.3370.03714.68
5.3.210.3300.03714.57
5.3.200.3270.04014.64
5.3.190.3400.03714.64
5.3.180.3170.04314.46
5.3.170.2930.04014.48
5.3.160.3300.03714.47
5.3.150.3070.03714.46
5.3.140.3470.04014.63
5.3.130.3370.03314.55
5.3.120.3370.03714.62
5.3.110.3130.03014.55
5.3.100.3500.04014.05
5.3.90.3330.03714.00
5.3.80.3170.03314.09
5.3.70.3400.03314.07
5.3.60.3270.03313.90
5.3.50.3500.03713.92
5.3.40.3100.04013.95
5.3.30.3030.03713.98
5.3.20.3830.03313.69
5.3.10.3430.03713.66
5.3.00.3700.03713.65
5.2.170.3370.02311.04
5.2.160.3100.03311.23
5.2.150.3370.03311.09
5.2.140.3430.02711.22
5.2.130.3400.03011.13
5.2.120.3130.02711.01
5.2.110.3130.02311.10
5.2.100.3170.02711.24
5.2.90.3400.03711.02
5.2.80.2970.02711.06
5.2.70.3170.03310.99
5.2.60.3070.03311.07
5.2.50.2730.02710.94
5.2.40.2400.02010.99
5.2.30.2070.02711.19
5.2.20.2330.02310.91
5.2.10.2030.03010.91
5.2.00.2230.02710.91
5.1.60.1870.02710.91
5.1.50.2070.02710.91
5.1.40.2000.02710.91
5.1.30.2300.02710.91
5.1.20.2300.02710.91
5.1.10.2370.01710.91
5.1.00.2170.03010.91
5.0.50.1270.02710.91
5.0.40.1130.01710.91
5.0.30.1270.04010.91
5.0.20.1300.02010.91
5.0.10.1130.01710.91
5.0.00.1270.03710.91
4.4.90.1130.01710.91
4.4.80.1270.01710.91
4.4.70.1230.01310.91
4.4.60.1030.01710.91
4.4.50.1270.02010.91
4.4.40.1300.02710.91
4.4.30.1330.02010.91
4.4.20.1300.01310.91
4.4.10.1230.02010.91
4.4.00.1530.02710.91
4.3.110.1500.01710.91
4.3.100.1530.01310.91
4.3.90.1470.01710.91
4.3.80.1400.03010.91
4.3.70.1300.02010.91
4.3.60.1330.01710.91
4.3.50.1170.01710.91
4.3.40.1230.02010.91
4.3.30.0730.02310.91
4.3.20.0530.01710.91
4.3.10.0630.01310.91
4.3.00.0600.01010.91

preferences:
141.1 ms | 1386 KiB | 7 Q