3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test() : string { return "test"; } echo 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.70.0070.01418.43
8.3.60.0120.00318.25
8.3.50.0100.00822.05
8.3.40.0090.00618.62
8.3.30.0170.00018.49
8.3.20.0050.00320.11
8.3.10.0080.00023.48
8.3.00.0040.00419.25
8.2.190.0180.00418.29
8.2.180.0070.01416.32
8.2.170.0140.00322.96
8.2.160.0090.00922.26
8.2.150.0040.00425.66
8.2.140.0030.00624.66
8.2.130.0080.00017.25
8.2.120.0100.00326.35
8.2.110.0090.00020.52
8.2.100.0040.00817.91
8.2.90.0050.00319.22
8.2.80.0000.00717.97
8.2.70.0040.00417.25
8.2.60.0050.00317.93
8.2.50.0040.00418.07
8.2.40.0000.00719.38
8.2.30.0000.00720.63
8.2.20.0060.00317.55
8.2.10.0000.00817.80
8.2.00.0040.00417.97
8.1.280.0090.00625.92
8.1.270.0050.00322.02
8.1.260.0000.01028.09
8.1.250.0080.00028.09
8.1.240.0060.00323.92
8.1.230.0040.00717.66
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0070.00217.23
8.1.190.0040.00416.98
8.1.180.0030.00618.10
8.1.170.0040.00718.63
8.1.160.0050.00322.00
8.1.150.0040.00418.69
8.1.140.0040.00419.36
8.1.130.0000.00817.63
8.1.120.0050.00317.29
8.1.110.0080.00017.37
8.1.100.0000.00817.31
8.1.90.0000.00717.29
8.1.80.0050.00217.22
8.1.70.0000.00717.16
8.1.60.0050.00317.54
8.1.50.0030.00617.46
8.1.40.0040.00417.47
8.1.30.0030.00617.60
8.1.20.0080.00017.48
8.1.10.0040.00417.48
8.1.00.0070.00017.22
8.0.300.0000.00818.77
8.0.290.0000.00716.58
8.0.280.0000.00718.37
8.0.270.0040.00417.15
8.0.260.0000.00717.11
8.0.250.0040.00416.75
8.0.240.0000.00616.82
8.0.230.0070.00016.79
8.0.220.0040.00416.78
8.0.210.0070.00016.77
8.0.200.0030.00316.82
8.0.190.0000.00716.66
8.0.180.0050.00216.78
8.0.170.0040.00416.71
8.0.160.0000.00816.75
8.0.150.0030.00316.75
8.0.140.0080.00316.78
8.0.130.0000.00813.14
8.0.120.0030.00616.59
8.0.110.0050.00216.77
8.0.100.0040.00416.57
8.0.90.0040.00416.80
8.0.80.0060.00716.79
8.0.70.0070.00016.65
8.0.60.0040.00416.65
8.0.50.0040.00416.64
8.0.30.0130.00517.18
8.0.20.0090.01217.40
8.0.10.0040.00416.89
8.0.00.0090.00816.50
7.4.330.0030.00316.67
7.4.320.0060.00016.36
7.4.300.0030.00316.45
7.4.290.0030.00316.42
7.4.280.0000.00816.37
7.4.270.0040.00416.42
7.4.260.0000.00716.41
7.4.250.0000.00716.43
7.4.240.0040.00316.46
7.4.230.0040.00416.32
7.4.220.0070.01116.39
7.4.210.0090.00516.42
7.4.200.0000.00716.37
7.4.160.0080.00816.41
7.4.150.0090.00917.40
7.4.140.0090.01217.86
7.4.130.0110.00916.33
7.4.120.0090.00816.43
7.4.110.0160.00916.46
7.4.100.0040.01416.37
7.4.90.0150.00316.29
7.4.80.0130.00919.39
7.4.70.0140.00616.55
7.4.60.0080.00816.41
7.4.50.0060.00916.46
7.4.40.0070.01016.54
7.4.30.0080.01416.43
7.4.00.0070.00914.87
7.3.330.0020.00213.09
7.3.320.0060.00013.23
7.3.310.0000.00616.28
7.3.300.0040.00416.27
7.3.290.0060.00016.06
7.3.280.0070.00816.19
7.3.270.0110.00717.40
7.3.260.0050.01116.48
7.3.250.0140.00516.47
7.3.240.0080.01116.21
7.3.230.0140.00316.39
7.3.210.0060.01016.60
7.3.200.0160.00616.27
7.3.190.0060.01016.34
7.3.180.0060.00916.49
7.3.170.0070.01416.60
7.3.160.0100.00616.30
7.3.120.0030.01414.72
7.3.110.0160.00014.51
7.3.100.0060.00614.70
7.3.90.0000.01514.52
7.3.80.0100.00314.32
7.3.70.0070.00714.67
7.3.60.0090.00614.57
7.3.50.0090.00614.90
7.3.40.0100.00714.72
7.3.30.0000.00914.80
7.3.20.0100.00316.80
7.3.10.0050.00816.43
7.3.00.0050.00516.73
7.2.330.0090.00916.67
7.2.320.0070.01016.50
7.2.310.0070.01016.49
7.2.300.0040.01416.30
7.2.290.0070.01116.35
7.2.250.0040.01215.04
7.2.240.0040.01814.99
7.2.230.0060.00914.81
7.2.220.0030.01114.70
7.2.210.0060.00615.14
7.2.200.0030.01214.52
7.2.190.0000.01715.02
7.2.180.0090.00914.69
7.2.170.0060.00614.60
7.2.130.0110.00416.81
7.2.120.0070.00716.57
7.2.110.0070.00316.80
7.2.100.0030.01016.82
7.2.90.0090.00616.89
7.2.80.0060.00616.82
7.2.70.0030.00716.94
7.2.60.0100.00516.75
7.2.50.0000.01216.93
7.2.40.0090.00616.53
7.2.30.0110.00416.74
7.2.20.0030.00716.87
7.2.10.0000.01116.66
7.2.00.0020.01317.92
7.1.330.0040.01115.50
7.1.320.0000.01415.28
7.1.310.0090.00315.75
7.1.300.0080.00415.46
7.1.290.0030.01315.79
7.1.280.0070.01015.68
7.1.270.0000.01515.83
7.1.260.0080.00615.61
7.1.250.0040.01115.76
7.1.200.0030.01015.77
7.1.100.0030.01217.94
7.1.70.0050.00516.65
7.1.60.0070.01119.48
7.1.50.0110.01116.79
7.1.00.0070.07322.57
7.0.200.0360.00314.74
7.0.60.0130.07319.89
7.0.50.0100.06017.84
7.0.40.0200.08020.21
7.0.30.0230.08320.12
7.0.20.0470.07720.21
7.0.10.0030.06020.03
7.0.00.0070.08320.17
5.6.280.0000.03320.86
5.6.210.0100.06720.64
5.6.200.0100.05018.15
5.6.190.0070.04020.64
5.6.180.0330.04720.52
5.6.170.0200.04720.44
5.6.160.0130.05720.45
5.6.150.0100.04318.25
5.6.140.0030.04018.16
5.6.130.0100.06718.28
5.6.120.0030.06321.01
5.6.110.0070.07321.04
5.6.100.0100.04320.97
5.6.90.0000.08321.03
5.6.80.0070.08020.38
5.5.350.4230.04720.46
5.5.340.0070.08017.95
5.5.330.0100.04020.28
5.5.320.0330.05020.34
5.5.310.0200.04020.34
5.5.300.0130.07318.02
5.5.290.0100.03717.92
5.5.280.0100.05320.73
5.5.270.0100.05320.80
5.5.260.0070.03720.79
5.5.250.0070.07320.79
5.5.240.0130.07720.35

preferences:
56.28 ms | 401 KiB | 5 Q