3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test() { return 1; } if (!test()==0) { echo "true"; }

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.0110.00718.42
8.3.50.0070.01317.91
8.3.40.0130.00322.03
8.3.30.0150.00318.54
8.3.20.0040.00424.18
8.3.10.0030.00524.66
8.3.00.0030.00526.16
8.2.180.0080.00625.92
8.2.170.0120.00618.98
8.2.160.0170.00322.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0080.00026.35
8.2.110.0030.00620.32
8.2.100.0000.01217.78
8.2.90.0000.00819.23
8.2.80.0000.00817.97
8.2.70.0040.00417.50
8.2.60.0000.00817.38
8.2.50.0000.00818.05
8.2.40.0000.00819.76
8.2.30.0040.00418.00
8.2.20.0050.00317.85
8.2.10.0040.00419.14
8.2.00.0000.00719.16
8.1.280.0110.00725.92
8.1.270.0040.00423.99
8.1.260.0050.00328.09
8.1.250.0080.00028.09
8.1.240.0060.00322.05
8.1.230.0000.01020.30
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0040.00417.23
8.1.180.0050.00318.10
8.1.170.0000.00818.48
8.1.160.0040.00418.91
8.1.150.0070.00018.72
8.1.140.0040.00418.72
8.1.130.0040.00420.13
8.1.120.0000.00717.29
8.1.110.0030.00617.40
8.1.100.0040.00417.44
8.1.90.0040.00417.38
8.1.80.0040.00417.36
8.1.70.0000.00717.27
8.1.60.0040.00417.55
8.1.50.0070.00017.29
8.1.40.0000.00817.45
8.1.30.0050.00317.59
8.1.20.0070.00017.46
8.1.10.0030.00517.39
8.1.00.0000.00817.23
8.0.300.0000.00719.73
8.0.290.0040.00416.58
8.0.280.0000.00718.25
8.0.270.0030.00317.86
8.0.260.0000.00618.48
8.0.250.0060.00016.87
8.0.240.0000.00716.80
8.0.230.0030.00316.91
8.0.220.0000.00716.73
8.0.210.0000.00716.86
8.0.200.0030.00316.82
8.0.190.0040.00416.88
8.0.180.0040.00416.76
8.0.170.0040.00416.84
8.0.160.0000.00816.85
8.0.150.0080.00016.58
8.0.140.0000.00816.75
8.0.130.0000.00513.27
8.0.120.0040.00416.84
8.0.110.0050.00216.86
8.0.100.0000.00716.77
8.0.90.0000.00716.86
8.0.80.0080.00616.83
8.0.70.0050.00516.93
8.0.60.0040.00416.75
8.0.50.0000.00716.71
8.0.30.0120.00617.28
8.0.20.0120.00716.99
8.0.10.0040.00416.72
8.0.00.0030.01416.65
7.4.330.0000.00415.55
7.4.320.0030.00316.53
7.4.300.0030.00316.38
7.4.290.0050.00316.36
7.4.280.0050.00316.51
7.4.270.0030.00316.53
7.4.260.0000.00513.16
7.4.250.0000.00716.38
7.4.240.0000.00716.42
7.4.230.0030.00316.32
7.4.220.0030.00316.38
7.4.210.0040.01116.43
7.4.200.0030.00316.31
7.4.130.0090.00916.45
7.4.120.0230.01216.50
7.4.110.0180.01216.56
7.4.100.0300.00016.55
7.4.90.0210.01216.40
7.4.80.0270.00316.47
7.4.70.0190.01116.39
7.4.60.0220.00416.23
7.4.50.0060.01516.46
7.4.40.0070.01716.18
7.4.30.0230.00516.25
7.4.20.0220.00616.40
7.4.10.0230.00816.59
7.4.00.0100.01016.11
7.3.330.0070.00016.25
7.3.320.0000.00613.15
7.3.310.0030.00616.39
7.3.300.0000.00616.04
7.3.290.0120.00716.24
7.3.260.0060.01216.56
7.3.240.0190.01216.27
7.3.230.0210.01116.51
7.3.220.0250.01116.28
7.3.210.0220.01016.31
7.3.200.0220.00516.27
7.3.190.0130.01016.50
7.3.180.0140.01016.19
7.3.170.0300.00016.36
7.3.160.0240.00816.25
7.3.150.0140.01516.23
7.3.140.0210.01716.27
7.3.130.0200.01216.43
7.3.120.0250.00716.20
7.3.110.0220.00416.39
7.3.100.0140.00916.46
7.3.90.0180.01016.48
7.3.80.0180.00916.32
7.3.70.0060.01916.31
7.3.60.0110.01116.20
7.3.50.0150.00416.33
7.3.40.0070.01016.32
7.3.30.0060.01516.23
7.3.20.0150.00716.37
7.3.10.0070.01116.34
7.3.00.0310.00016.50
7.2.340.0150.01616.72
7.2.330.0220.01616.41
7.2.320.0180.01416.34
7.2.310.0220.00616.69
7.2.300.0260.00716.66
7.2.290.0270.00516.74
7.2.280.0240.00916.71
7.2.270.0180.00716.30
7.2.260.0180.01416.72
7.2.250.0250.01316.78
7.2.240.0290.00316.69
7.2.230.0080.01216.61
7.2.220.0150.01216.65
7.2.210.0100.01716.36
7.2.200.0130.01316.70
7.2.190.0130.01016.52
7.2.180.0080.01116.56
7.2.170.0160.00616.44
7.2.160.0110.01116.46
7.2.150.0130.00716.57
7.2.140.0090.00916.64
7.2.130.0160.00816.63
7.2.120.0110.01116.49
7.2.110.0100.01016.63
7.2.100.0140.01616.74
7.2.90.0210.01516.59
7.2.80.0190.01416.78
7.2.70.0140.01016.77
7.2.60.0060.01316.55
7.2.50.0060.01316.46
7.2.40.0130.01016.56
7.2.30.0110.01516.52
7.2.20.0070.01116.66
7.2.10.0100.01016.47
7.2.00.0040.01416.64

preferences:
64.23 ms | 401 KiB | 5 Q