3v4l.org

run code in 300+ PHP versions simultaneously
<?php $id = "1025325'--"; $id = 0 + $id; if (!$id) print("not number"); else print("number"); print("input is " . $id);

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.00716.50
8.3.50.0090.00921.15
8.3.40.0070.00718.57
8.3.30.0070.01418.59
8.3.20.0040.00420.04
8.3.10.0000.00721.65
8.3.00.0040.00421.83
8.2.180.0080.00818.38
8.2.170.0140.00422.96
8.2.160.0100.00720.21
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0080.00021.03
8.2.120.0070.00026.35
8.2.110.0040.00720.97
8.2.100.0090.00317.84
8.2.90.0030.00517.63
8.2.80.0030.00517.97
8.2.70.0000.00818.04
8.2.60.0110.00017.80
8.2.50.0080.00018.10
8.2.40.0040.00420.63
8.2.30.0040.00419.48
8.2.20.0040.00417.74
8.2.10.0040.00418.09
8.2.00.0040.00418.17
8.1.280.0140.00325.92
8.1.270.0000.01822.06
8.1.260.0070.00028.09
8.1.250.0040.00428.09
8.1.240.0080.00022.08
8.1.230.0040.00819.15
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00717.23
8.1.190.0080.00017.34
8.1.180.0080.00018.10
8.1.170.0040.00418.56
8.1.160.0040.00420.62
8.1.150.0050.00320.72
8.1.140.0000.00819.55
8.1.130.0030.00617.73
8.1.120.0040.00517.36
8.1.110.0030.00817.42
8.1.100.0080.00017.39
8.1.90.0000.00817.45
8.1.80.0040.00417.35
8.1.70.0000.00817.49
8.1.60.0060.00317.46
8.1.50.0040.00417.53
8.1.40.0000.00817.46
8.1.30.0040.00417.62
8.1.20.0080.00017.59
8.1.10.0040.00417.52
8.1.00.0050.00317.43
8.0.300.0040.00419.73
8.0.290.0050.00316.63
8.0.280.0070.00018.49
8.0.270.0000.00717.25
8.0.260.0000.00717.19
8.0.250.0000.00616.89
8.0.240.0050.00217.05
8.0.230.0070.00016.88
8.0.220.0000.00716.83
8.0.210.0000.00716.87
8.0.200.0030.00317.04
8.0.190.0040.00416.90
8.0.180.0000.00716.93
8.0.170.0000.00816.91
8.0.160.0080.00016.89
8.0.150.0050.00216.84
8.0.140.0000.00716.80
8.0.130.0030.00313.30
8.0.120.0000.00716.95
8.0.110.0080.00017.01
8.0.100.0000.00716.80
8.0.90.0030.00616.93
8.0.80.0060.01216.88
8.0.70.0040.00416.98
8.0.60.0070.00016.74
8.0.50.0050.00316.89
8.0.30.0120.00717.03
8.0.20.0100.01017.40
8.0.10.0000.00717.11
8.0.00.0120.00616.80
7.4.330.0020.00216.83
7.4.320.0030.00316.59
7.4.300.0050.00316.59
7.4.290.0040.00416.50
7.4.280.0080.00016.62
7.4.270.0030.00316.60
7.4.260.0070.00016.58
7.4.250.0000.00816.46
7.4.240.0040.00416.59
7.4.230.0000.00716.61
7.4.220.0060.01216.68
7.4.210.0080.01016.66
7.4.200.0040.00416.29
7.4.160.0060.01016.38
7.4.150.0190.00017.40
7.4.140.0080.01417.86
7.4.130.0160.00316.50
7.4.120.0110.01016.69
7.4.110.0030.01416.52
7.4.100.0110.00616.22
7.4.90.0060.01116.33
7.4.80.0030.01319.39
7.4.70.0090.00916.45
7.4.60.0090.00816.43
7.4.50.0130.00316.18
7.4.40.0100.01316.57
7.4.30.0060.00916.38
7.4.00.0030.01014.79
7.3.330.0000.00513.18
7.3.320.0000.00513.16
7.3.310.0050.00216.39
7.3.300.0060.00016.22
7.3.290.0030.00316.18
7.3.280.0110.00716.28
7.3.270.0090.00917.40
7.3.260.0200.00316.51
7.3.240.0120.00616.29
7.3.230.0090.00916.39
7.3.210.0050.01116.50
7.3.200.0090.01319.39
7.3.190.0120.00816.48
7.3.180.0100.00616.28
7.3.170.0040.01516.42
7.3.160.0070.01016.50
7.2.330.0120.00916.36
7.2.320.0120.00616.50
7.2.310.0100.01316.79
7.2.300.0080.00816.68
7.2.290.0070.00716.57
7.2.60.0100.00316.59
7.2.00.0030.00719.52
7.1.200.0060.00615.76
7.1.100.0090.00618.22
7.1.70.0030.00617.11
7.1.60.0070.01819.40
7.1.50.0040.01516.98
7.1.00.0000.08022.32
7.0.200.0840.01314.43
7.0.60.0330.07320.01
7.0.50.0000.04317.82
7.0.40.0070.08719.96
7.0.30.0170.04020.30
7.0.20.0170.06020.32
7.0.10.0070.06320.02
7.0.00.0070.05020.18
5.6.280.0000.04721.14
5.6.210.0130.06320.64
5.6.200.0000.04318.21
5.6.190.0070.04320.45
5.6.180.0200.04320.77
5.6.170.0370.07020.51
5.6.160.0030.08320.42
5.6.150.0070.06718.11
5.6.140.0070.04718.10
5.6.130.0100.04718.15
5.6.120.0100.06720.98
5.6.110.0130.07020.99
5.6.100.0130.06320.96
5.6.90.0130.07720.84
5.6.80.0130.07320.50
5.5.350.0230.07320.39
5.5.340.0130.06717.95
5.5.330.0030.05720.13
5.5.320.0370.06720.28
5.5.310.0230.06020.18
5.5.300.0070.08017.92
5.5.290.0030.08018.02
5.5.280.0100.04320.89
5.5.270.0100.08020.86
5.5.260.0000.05320.66
5.5.250.0070.08320.68
5.5.240.0200.03320.35

preferences:
41.37 ms | 401 KiB | 5 Q