3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test implements stuff { function truc($arg1, $is, $opt = 'tauisetauti') {} } interface stuff{ function truc($arg1, string $is); } new test();

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.30
8.3.50.0150.00016.34
8.3.40.0070.01118.46
8.3.30.0100.00318.59
8.3.20.0040.00420.16
8.3.10.0060.00323.66
8.3.00.0000.00819.26
8.2.180.0060.00918.00
8.2.170.0040.01122.96
8.2.160.0030.01020.38
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0000.00826.16
8.2.120.0080.00021.00
8.2.110.0060.00322.20
8.2.100.0080.00417.84
8.2.90.0040.00417.59
8.2.80.0000.00819.16
8.2.70.0060.00317.90
8.2.60.0080.00017.80
8.2.50.0040.00418.10
8.2.40.0050.00320.39
8.2.30.0040.00419.38
8.2.20.0040.00418.04
8.2.10.0030.00517.95
8.2.00.0040.00418.08
8.1.280.0140.00425.92
8.1.270.0030.00619.95
8.1.260.0000.00826.35
8.1.250.0100.00728.09
8.1.240.0060.00322.16
8.1.230.0070.00420.68
8.1.220.0060.00317.74
8.1.210.0050.00318.77
8.1.200.0000.00817.22
8.1.190.0040.00417.11
8.1.180.0050.00318.10
8.1.170.0030.00618.66
8.1.160.0030.00518.88
8.1.150.0040.00418.78
8.1.140.0000.00719.06
8.1.130.0070.00018.93
8.1.120.0000.00717.32
8.1.110.0050.00217.44
8.1.100.0000.00717.27
8.1.90.0040.00417.38
8.1.80.0040.00417.35
8.1.70.0030.00317.37
8.1.60.0000.00817.54
8.1.50.0080.00017.34
8.1.40.0000.00917.37
8.1.30.0080.00017.59
8.1.20.0040.00417.60
8.1.10.0040.00417.39
8.1.00.0030.00617.39
8.0.300.0050.00320.07
8.0.290.0040.00416.63
8.0.280.0000.00718.48
8.0.270.0050.00317.25
8.0.260.0000.00617.13
8.0.250.0000.00816.94
8.0.240.0000.00716.85
8.0.230.0040.00316.83
8.0.220.0060.00016.72
8.0.210.0000.00716.86
8.0.200.0000.00616.84
8.0.190.0000.00816.86
8.0.180.0040.00416.86
8.0.170.0060.00316.84
8.0.160.0070.00016.71
8.0.150.0030.00316.77
8.0.140.0000.00716.80
8.0.130.0000.00513.17
8.0.120.0050.00216.82
8.0.110.0030.00616.77
8.0.100.0000.00816.81
8.0.90.0070.00016.69
8.0.80.0040.01116.71
8.0.70.0040.00416.82
8.0.60.0050.00316.89
8.0.50.0070.00016.78
8.0.30.0060.01417.05
8.0.20.0100.01017.40
8.0.10.0040.00416.96
8.0.00.0100.00816.68
7.4.330.0050.00015.55
7.4.320.0030.00616.54
7.4.300.0030.00316.55
7.4.290.0070.00016.57
7.4.280.0000.00716.48
7.4.270.0000.00716.50
7.4.260.0000.00716.53
7.4.250.0050.00316.41
7.4.240.0000.00916.46
7.4.230.0030.00316.55
7.4.220.0080.00016.61
7.4.210.0070.00916.45
7.4.200.0070.00016.34
7.4.160.0060.01016.42
7.4.150.0100.00717.40
7.4.140.0080.01217.86
7.4.130.0150.00416.41
7.4.120.0100.01016.51
7.4.110.0130.00316.36
7.4.100.0120.00616.29
7.4.90.0060.01216.35
7.4.80.0140.00319.39
7.4.70.0060.00916.41
7.4.60.0110.00416.48
7.4.50.0130.00316.36
7.4.40.0030.01416.35
7.4.00.0060.00914.96
7.3.330.0050.00013.15
7.3.320.0000.00713.14
7.3.310.0000.00716.21
7.3.300.0000.00716.04
7.3.290.0000.00716.04
7.3.280.0080.00616.14
7.3.270.0100.00717.40
7.3.260.0080.01116.27
7.3.250.0120.00616.33
7.3.240.0090.00916.42
7.3.230.0110.00616.51
7.3.210.0090.00616.14
7.3.200.0130.00316.26
7.3.190.0100.00716.27
7.3.180.0090.01216.16
7.3.170.0080.00816.35
7.3.160.0000.01516.54
7.2.330.0090.00916.30
7.2.320.0060.00916.37
7.2.310.0130.00316.39
7.2.300.0050.01116.34
7.2.290.0050.01116.45
7.2.60.0040.01116.63
7.2.50.0060.00916.90
7.2.10.0390.01017.35
7.2.00.0340.00717.58
7.1.200.0030.01015.69
7.1.130.0280.00916.51
7.1.120.0850.01716.14
7.1.110.0280.00915.89
7.1.100.0300.00716.03
7.1.90.0410.00315.97
7.1.80.0270.01015.49
7.1.70.0280.01214.88
7.1.60.0430.00933.18
7.1.50.0460.00732.82
7.1.40.0540.01032.43
7.1.30.0500.00732.38
7.1.20.0390.01332.55
7.1.10.0250.01214.73
7.1.00.0190.01314.61

preferences:
53.75 ms | 400 KiB | 5 Q