3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public static function bar() { call_user_func_array('self::baz', []); } public static function baz() { die('failed'); } } class Bar { public static function baz() { die('Worked!'); } } Bar::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.0140.00416.63
8.3.50.0100.01121.92
8.3.40.0040.01118.82
8.3.30.0160.00618.84
8.3.20.0040.00420.26
8.3.10.0040.00423.64
8.3.00.0030.00619.51
8.2.180.0120.00616.88
8.2.170.0030.01022.96
8.2.160.0070.00720.39
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0080.00317.25
8.2.120.0070.00026.35
8.2.110.0070.00321.11
8.2.100.0000.01118.04
8.2.90.0000.00819.02
8.2.80.0030.00517.97
8.2.70.0040.00417.50
8.2.60.0030.00517.80
8.2.50.0000.00818.07
8.2.40.0070.00019.26
8.2.30.0070.00020.63
8.2.20.0000.00717.57
8.2.10.0000.00718.05
8.2.00.0040.00418.05
8.1.280.0090.00925.92
8.1.270.0050.00322.18
8.1.260.0030.00628.09
8.1.250.0060.00328.09
8.1.240.0060.00319.44
8.1.230.0070.00417.77
8.1.220.0040.00417.74
8.1.210.0090.00018.77
8.1.200.0050.00517.23
8.1.190.0060.00317.25
8.1.180.0040.00418.10
8.1.170.0040.00418.59
8.1.160.0000.00722.06
8.1.150.0050.00318.72
8.1.140.0000.00819.45
8.1.130.0070.00017.56
8.1.120.0050.00217.31
8.1.110.0070.00017.34
8.1.100.0070.00017.27
8.1.90.0040.00417.34
8.1.80.0000.00717.39
8.1.70.0000.00717.39
8.1.60.0100.00017.50
8.1.50.0050.00317.37
8.1.40.0030.00617.33
8.1.30.0050.00317.48
8.1.20.0080.00017.63
8.1.10.0030.00617.39
8.1.00.0070.00017.48
8.0.300.0040.00418.77
8.0.290.0050.00316.75
8.0.280.0000.00818.45
8.0.270.0050.00217.18
8.0.260.0000.00817.06
8.0.250.0070.00016.85
8.0.240.0100.00016.87
8.0.230.0000.00716.87
8.0.220.0080.00016.90
8.0.210.0000.00916.85
8.0.200.0000.00716.96
8.0.190.0080.00016.93
8.0.180.0040.00416.92
8.0.170.0000.00816.85
8.0.160.0030.00316.87
8.0.150.0070.00016.86
8.0.140.0030.00716.84
8.0.130.0000.00713.28
8.0.120.0070.00016.74
8.0.110.0050.00216.91
8.0.100.0050.00216.96
8.0.90.0040.00416.76
8.0.80.0060.00916.85
8.0.70.0040.00416.84
8.0.60.0040.00416.85
8.0.50.0040.00416.84
8.0.30.0080.00916.96
8.0.20.0090.01017.40
8.0.10.0000.00717.06
8.0.00.0090.01016.67
7.4.330.0060.00015.08
7.4.320.0030.00316.41
7.4.300.0000.00616.43
7.4.290.0040.00416.54
7.4.280.0000.00716.48
7.4.270.0030.00316.58
7.4.260.0070.00016.56
7.4.250.0040.00416.50
7.4.240.0020.00516.50
7.4.230.0000.00716.29
7.4.220.0070.01116.38
7.4.210.0070.01316.48
7.4.200.0040.00416.52
7.4.160.0060.01316.42
7.4.150.0100.00717.40
7.4.140.0090.00917.86
7.4.130.0080.01216.56
7.4.120.0100.00616.52
7.4.110.0150.00716.47
7.4.100.0130.00916.47
7.4.90.0090.01216.30
7.4.80.0130.00919.39
7.4.70.0090.01416.51
7.4.60.0110.00616.45
7.4.50.0030.00316.35
7.4.40.0130.00316.63
7.4.30.0090.00816.47
7.4.00.0080.00414.89
7.3.330.0060.00013.27
7.3.320.0000.00613.31
7.3.310.0000.00716.14
7.3.300.0050.00216.26
7.3.290.0040.00416.30
7.3.280.0080.01016.27
7.3.270.0100.00717.40
7.3.260.0150.00916.48
7.3.240.0110.00816.35
7.3.230.0130.00316.39
7.3.210.0170.00016.48
7.3.200.0090.01216.39
7.3.190.0090.00616.27
7.3.180.0130.00416.50
7.3.170.0100.00716.41
7.3.160.0030.01316.60
7.3.120.0090.00914.77
7.3.110.0040.01114.64
7.3.100.0070.00714.71
7.3.90.0090.00314.66
7.3.80.0030.01014.75
7.3.70.0000.01414.77
7.3.60.0080.00614.65
7.3.50.0030.01214.86
7.3.40.0060.00914.86
7.3.30.0030.00714.76
7.3.20.0090.00016.52
7.3.10.0040.00816.61
7.3.00.0090.00616.64
7.2.330.0140.00316.40
7.2.320.0120.00616.22
7.2.310.0100.00716.48
7.2.300.0030.01316.45
7.2.290.0110.00716.61
7.2.250.0000.01814.74
7.2.240.0150.00414.88
7.2.230.0070.01114.89
7.2.220.0040.01214.69
7.2.210.0040.00714.54
7.2.200.0070.00314.66
7.2.190.0060.00914.71
7.2.180.0100.00614.69
7.2.170.0090.00614.99
7.2.60.0030.01016.76
7.2.00.0060.00618.93
7.1.330.0040.01115.35
7.1.320.0110.00415.45
7.1.310.0030.01015.47
7.1.300.0070.00415.66
7.1.290.0060.00915.64
7.1.280.0100.00615.50
7.1.270.0090.00315.68
7.1.260.0060.01015.66
7.1.200.0070.01015.57
7.1.100.0000.01017.74
7.1.70.0040.00417.02
7.1.60.0200.00319.48
7.1.50.0100.01016.89
7.1.00.0000.07322.28
7.0.200.0210.00914.30
7.0.60.0070.05319.80
7.0.50.0070.08317.88
7.0.40.0030.04720.02
7.0.30.0230.07320.07
7.0.20.0170.08320.19
7.0.10.0030.04320.24
7.0.00.0100.09020.15
5.6.280.0030.06320.87
5.6.210.0030.07720.61
5.6.200.0170.07718.29
5.6.190.0030.08720.41
5.6.180.0230.05320.61
5.6.170.0270.05320.71
5.6.160.0130.07720.43
5.6.150.0170.07718.14
5.6.140.0070.04318.14
5.6.130.0100.05318.26
5.6.120.0100.08321.02
5.6.110.0070.07720.99
5.6.100.0030.08321.01
5.6.90.0070.05320.88
5.6.80.0000.07720.38
5.5.350.3200.03320.44
5.5.340.0130.03317.98
5.5.330.0130.07720.35
5.5.320.0570.05720.14
5.5.310.0270.07320.21
5.5.300.0000.04318.04
5.5.290.0070.03717.95
5.5.280.0030.08720.96
5.5.270.0070.06720.80
5.5.260.0170.07720.79
5.5.250.0100.06320.68
5.5.240.0170.08020.06

preferences:
52.59 ms | 401 KiB | 5 Q