3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test($cl){ $cl->t('blaaaaaaaah'); } test(new class { public function t($t) { echo $t; } });

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.00718.31
8.3.50.0110.00416.16
8.3.40.0100.00518.72
8.3.30.0120.00318.42
8.3.20.0040.00420.27
8.3.10.0050.00221.78
8.3.00.0070.00322.21
8.2.180.0120.00916.38
8.2.170.0040.01222.96
8.2.160.0150.00420.46
8.2.150.0070.01124.18
8.2.140.0060.00324.66
8.2.130.0080.00826.16
8.2.120.0120.00319.66
8.2.110.0110.00021.00
8.2.100.0000.01117.78
8.2.90.0050.00319.17
8.2.80.0000.00817.97
8.2.70.0030.00617.50
8.2.60.0050.00317.93
8.2.50.0020.00519.05
8.2.40.0040.00720.61
8.2.30.0040.00419.13
8.2.20.0020.00517.91
8.2.10.0040.00418.02
8.2.00.0000.00718.08
8.1.280.0150.00625.92
8.1.270.0080.00022.20
8.1.260.0080.00026.35
8.1.250.0060.00328.09
8.1.240.0000.00920.70
8.1.230.0030.00919.12
8.1.220.0000.00917.74
8.1.210.0030.00718.77
8.1.200.0060.00317.35
8.1.190.0030.00617.23
8.1.180.0000.00718.10
8.1.170.0040.00418.42
8.1.160.0000.00718.77
8.1.150.0040.00420.04
8.1.140.0020.00519.51
8.1.130.0070.00018.81
8.1.120.0040.00417.32
8.1.110.0030.00617.34
8.1.100.0040.00417.43
8.1.90.0070.00317.42
8.1.80.0000.00717.28
8.1.70.0030.00317.39
8.1.60.0000.00817.52
8.1.50.0000.00817.42
8.1.40.0000.00817.52
8.1.30.0080.00317.54
8.1.20.0040.00417.46
8.1.10.0030.00617.52
8.1.00.0000.00817.45
8.0.300.0040.00420.07
8.0.290.0040.00416.75
8.0.280.0000.00718.45
8.0.270.0000.00717.16
8.0.260.0000.00719.00
8.0.250.0030.00316.99
8.0.240.0030.00616.97
8.0.230.0050.00416.77
8.0.220.0070.00016.68
8.0.210.0070.00016.71
8.0.200.0020.00516.88
8.0.190.0080.00016.83
8.0.180.0040.00316.71
8.0.170.0000.00716.82
8.0.160.0030.00316.68
8.0.150.0000.00716.82
8.0.140.0040.00416.80
8.0.130.0030.00313.22
8.0.120.0070.00016.75
8.0.110.0030.00516.62
8.0.100.0000.00716.87
8.0.90.0030.00316.77
8.0.80.0060.00916.87
8.0.70.0040.00416.84
8.0.60.0000.00716.83
8.0.50.0000.00716.69
8.0.30.0130.00517.10
8.0.20.0110.00917.40
8.0.10.0000.00716.94
8.0.00.0110.00916.82
7.4.330.0020.00215.55
7.4.320.0030.00316.57
7.4.300.0000.00616.41
7.4.290.0040.00416.41
7.4.280.0040.00416.48
7.4.270.0040.00416.49
7.4.260.0030.00316.50
7.4.250.0040.00416.44
7.4.240.0000.00716.42
7.4.230.0030.00316.34
7.4.220.0120.00616.41
7.4.210.0120.00616.46
7.4.200.0050.00216.54
7.4.160.0100.00816.53
7.4.150.0100.00717.40
7.4.140.0140.00717.86
7.4.130.0100.01016.46
7.4.120.0100.01116.43
7.4.110.0070.01116.62
7.4.100.0070.01016.55
7.4.90.0090.00616.56
7.4.80.0100.00719.39
7.4.70.0090.00916.41
7.4.60.0060.01016.53
7.4.50.0040.00416.23
7.4.40.0080.01616.60
7.4.30.0130.00316.53
7.4.00.0070.01014.95
7.3.330.0050.00013.27
7.3.320.0000.00513.25
7.3.310.0000.00616.34
7.3.300.0000.00716.25
7.3.290.0070.00616.28
7.3.280.0090.00916.27
7.3.270.0080.01117.40
7.3.260.0120.00616.41
7.3.240.0140.00616.58
7.3.230.0030.01416.61
7.3.210.0030.01416.42
7.3.200.0030.01916.47
7.3.190.0100.00616.35
7.3.180.0070.01116.57
7.3.170.0080.00816.64
7.3.160.0060.00916.51
7.3.120.0030.01315.10
7.3.110.0070.00814.71
7.3.100.0080.00714.96
7.3.90.0050.01214.66
7.3.80.0020.01014.88
7.3.70.0040.01014.78
7.3.60.0050.01114.74
7.3.50.0050.00914.79
7.3.40.0040.01114.66
7.3.30.0040.01114.83
7.3.20.0050.01016.57
7.3.10.0000.01316.45
7.3.00.0080.00816.73
7.2.330.0070.01016.81
7.2.320.0030.01316.20
7.2.310.0110.00616.60
7.2.300.0090.00916.59
7.2.290.0080.00816.29
7.2.250.0110.00714.92
7.2.240.0070.01314.57
7.2.230.0020.01114.60
7.2.220.0050.00814.99
7.2.210.0050.01115.14
7.2.200.0050.00714.84
7.2.190.0060.00814.69
7.2.180.0020.01214.91
7.2.170.0040.00814.89
7.2.60.0080.00816.86
7.2.00.0000.01819.30
7.1.330.0040.01015.72
7.1.320.0050.00715.65
7.1.310.0030.01115.67
7.1.300.0080.00715.75
7.1.290.0040.01215.67
7.1.280.0060.00815.63
7.1.270.0050.00915.64
7.1.260.0050.01115.84
7.1.200.0030.01015.79
7.1.70.0000.00917.04
7.1.60.0070.00717.06
7.1.50.0100.01734.54
7.1.40.0170.01734.37
7.1.30.0100.01734.25
7.1.20.0170.01334.29
7.1.10.0030.01316.35
7.1.00.0000.01016.32
7.0.200.0100.00316.61
7.0.190.0000.01016.49
7.0.180.0000.01315.96
7.0.170.0030.01016.24
7.0.160.0030.00716.24
7.0.150.0000.01316.20
7.0.140.0000.01316.20
7.0.130.0070.01016.39
7.0.120.0070.01016.33
7.0.110.0030.01016.16
7.0.100.0070.01016.23
7.0.90.0030.00716.07
7.0.80.0070.00316.12
7.0.70.0000.01016.11
7.0.60.0030.01015.93
7.0.50.0000.01016.21
7.0.40.0030.00716.03
7.0.30.0000.01316.23
7.0.20.0000.01016.19
7.0.10.0070.00716.13
7.0.00.0000.01315.94

preferences:
55.17 ms | 400 KiB | 5 Q