3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { public static function bar() { echo "I am foo::bar\n"; } } $foo = 'foo'; $foo::bar();

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.60.0070.01418.31
8.3.50.0080.00618.03
8.3.40.0100.00718.68
8.3.30.0060.00918.75
8.3.20.0000.00818.90
8.3.10.0030.00520.73
8.3.00.0070.00023.65
8.2.180.0090.01218.41
8.2.170.0090.00622.96
8.2.160.0100.00720.57
8.2.150.0070.00324.18
8.2.140.0050.00324.66
8.2.130.0050.00321.07
8.2.120.0040.00426.35
8.2.110.0000.01021.11
8.2.100.0090.00317.77
8.2.90.0000.00817.84
8.2.80.0040.00417.97
8.2.70.0040.00417.55
8.2.60.0040.00418.22
8.2.50.0000.00818.10
8.2.40.0000.00719.44
8.2.30.0000.00718.99
8.2.20.0000.00718.04
8.2.10.0070.00018.00
8.2.00.0040.00419.21
8.1.280.0070.01425.92
8.1.270.0080.00023.99
8.1.260.0060.00326.35
8.1.250.0030.00628.09
8.1.240.0040.00422.20
8.1.230.0000.01222.67
8.1.220.0040.00417.74
8.1.210.0040.00419.01
8.1.200.0030.00717.23
8.1.190.0060.00317.11
8.1.180.0060.00318.10
8.1.170.0040.00418.57
8.1.160.0040.00418.80
8.1.150.0000.00818.82
8.1.140.0040.00417.70
8.1.130.0030.00318.92
8.1.120.0030.00317.39
8.1.110.0030.00717.36
8.1.100.0040.00417.31
8.1.90.0000.00717.39
8.1.80.0000.00717.23
8.1.70.0000.00717.35
8.1.60.0000.00917.48
8.1.50.0050.00317.48
8.1.40.0000.00817.54
8.1.30.0000.00717.54
8.1.20.0040.00417.60
8.1.10.0030.00617.53
8.1.00.0050.00217.54
8.0.300.0030.00319.60
8.0.290.0040.00416.75
8.0.280.0030.00318.38
8.0.270.0040.00417.27
8.0.260.0000.00817.18
8.0.250.0030.00316.94
8.0.240.0000.00816.79
8.0.230.0020.00516.80
8.0.220.0030.00316.75
8.0.210.0030.00316.81
8.0.200.0000.00816.94
8.0.190.0000.00716.84
8.0.180.0000.00716.82
8.0.170.0060.00316.84
8.0.160.0000.00716.81
8.0.150.0000.00816.72
8.0.140.0070.00016.79
8.0.130.0000.00513.21
8.0.120.0070.00016.74
8.0.110.0000.00716.64
8.0.100.0000.00716.86
8.0.90.0080.00016.69
8.0.80.0050.01016.80
8.0.70.0070.00016.82
8.0.60.0050.00216.77
8.0.50.0070.00016.67
8.0.30.0120.00717.12
8.0.20.0150.00517.40
8.0.10.0040.00416.94
8.0.00.0080.01016.74
7.4.330.0000.00515.55
7.4.320.0030.00316.54
7.4.300.0000.00616.45
7.4.290.0040.00416.48
7.4.280.0050.00216.59
7.4.270.0000.00716.64
7.4.260.0070.00016.52
7.4.250.0070.00016.46
7.4.240.0040.00416.59
7.4.230.0000.00816.46
7.4.220.0040.00416.68
7.4.210.0050.01316.64
7.4.200.0070.00016.57
7.4.140.0130.00617.86
7.4.130.0030.01316.53
7.4.120.0070.01116.52
7.4.110.0120.01416.37
7.4.100.0060.01616.52
7.4.90.0120.00616.44
7.4.80.0140.00719.39
7.4.70.0100.00716.53
7.4.60.0100.01016.58
7.4.50.0110.00716.39
7.4.40.0170.00716.61
7.4.00.0000.01614.67
7.3.330.0000.00513.30
7.3.320.0050.00013.29
7.3.310.0000.00716.32
7.3.300.0000.00716.31
7.3.290.0040.00316.10
7.3.280.0070.01016.37
7.3.260.0080.00816.39
7.3.240.0080.01116.41
7.3.230.0090.00916.42
7.3.210.0100.00716.46
7.3.200.0140.00316.31
7.3.190.0130.01016.35
7.3.180.0060.00916.16
7.3.170.0070.01016.34
7.3.160.0090.00916.25
7.2.330.0140.00416.39
7.2.320.0110.01116.57
7.2.310.0100.00716.57
7.2.300.0090.00616.21
7.2.290.0080.01116.62
7.2.70.0220.00314.99
7.2.60.0200.00715.09
7.2.50.0130.01314.68
7.2.40.0250.01514.94
7.2.30.0290.00714.89
7.2.20.0200.00715.02
7.2.10.0180.00914.96
7.2.00.0210.00714.92
7.1.200.0060.00915.75
7.1.170.0180.00913.56
7.1.160.0220.00413.89
7.1.150.0210.00313.99
7.1.140.0210.00313.78
7.1.130.0180.01213.84
7.1.120.0220.00613.51
7.1.110.0190.01213.88
7.1.100.0210.00813.82
7.1.90.0240.00614.01
7.1.80.0180.01113.66
7.1.70.0200.00713.76
7.1.60.0490.00631.79
7.1.50.0300.01731.70
7.1.40.0480.01031.94
7.1.30.0290.01831.81
7.1.20.0390.00931.93
7.1.10.0190.00613.78
7.1.00.1100.00313.92

preferences:
30.61 ms | 400 KiB | 5 Q