3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo is_numeric(0) ? 'yes' : 'no'; echo "\n"; echo is_bool(0) ? 'yes' : 'no';

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.0120.00918.30
8.3.50.0070.00716.38
8.3.40.0040.01118.85
8.3.30.0100.01318.76
8.3.20.0000.00721.81
8.3.10.0040.00421.91
8.3.00.0000.00919.69
8.2.180.0090.00918.54
8.2.170.0150.00022.96
8.2.160.0070.01420.55
8.2.150.0060.00624.18
8.2.140.0040.00424.66
8.2.130.0140.00326.16
8.2.120.0000.00721.10
8.2.110.0060.00320.32
8.2.100.0040.00717.71
8.2.90.0040.00417.75
8.2.80.0040.00417.97
8.2.70.0050.00317.92
8.2.60.0040.00418.03
8.2.50.0030.00519.23
8.2.40.0040.00420.42
8.2.30.0000.00819.18
8.2.20.0000.00918.04
8.2.10.0070.00017.99
8.2.00.0020.00517.89
8.1.280.0100.00725.92
8.1.270.0080.00020.54
8.1.260.0100.01026.35
8.1.250.0040.01428.09
8.1.240.0060.00321.99
8.1.230.0140.00022.04
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0080.00017.22
8.1.190.0000.00916.98
8.1.180.0050.00318.10
8.1.170.0050.00320.17
8.1.160.0070.00018.75
8.1.150.0000.00720.34
8.1.140.0000.00719.43
8.1.130.0030.00520.61
8.1.120.0030.00317.30
8.1.110.0040.00417.17
8.1.100.0040.00417.32
8.1.90.0000.00817.36
8.1.80.0030.00317.25
8.1.70.0070.00017.31
8.1.60.0080.00017.34
8.1.50.0000.00717.39
8.1.40.0040.00417.28
8.1.30.0000.00817.41
8.1.20.0060.00317.52
8.1.10.0040.00417.46
8.1.00.0000.00917.30
8.0.300.0040.00419.58
8.0.290.0040.00416.75
8.0.280.0070.00018.37
8.0.270.0030.00317.20
8.0.260.0000.00618.87
8.0.250.0060.00016.96
8.0.240.0040.00416.88
8.0.230.0000.00716.75
8.0.220.0000.00716.79
8.0.210.0070.00016.72
8.0.200.0030.00316.79
8.0.190.0000.00916.79
8.0.180.0070.00016.73
8.0.170.0060.00316.86
8.0.160.0050.00216.85
8.0.150.0050.00316.64
8.0.140.0000.00716.81
8.0.130.0000.00613.29
8.0.120.0070.00016.84
8.0.110.0040.00416.78
8.0.100.0000.00716.78
8.0.90.0040.00416.89
8.0.80.0060.01616.78
8.0.70.0050.00316.84
8.0.60.0070.00016.62
8.0.50.0040.00416.86
8.0.30.0130.00617.04
8.0.20.0130.00617.40
8.0.10.0040.00416.93
8.0.00.0070.01116.74
7.4.330.0000.00515.55
7.4.320.0030.00516.39
7.4.300.0000.00616.44
7.4.290.0000.00716.26
7.4.280.0030.00616.30
7.4.270.0000.00716.46
7.4.260.0030.00316.34
7.4.250.0050.00316.26
7.4.240.0030.00316.48
7.4.230.0040.00416.12
7.4.220.0120.00616.34
7.4.210.0070.00716.45
7.4.200.0070.00016.37
7.4.160.0120.00516.38
7.4.150.0090.00917.40
7.4.140.0110.00717.86
7.4.130.0040.01516.46
7.4.120.0120.01016.37
7.4.110.0060.01116.43
7.4.100.0060.01216.22
7.4.90.0110.00616.29
7.4.80.0130.00319.39
7.4.70.0080.00816.39
7.4.60.0110.00516.36
7.4.50.0030.01316.32
7.4.40.0210.00016.48
7.4.30.0100.00716.25
7.4.00.0070.00715.05
7.3.330.0000.00713.05
7.3.320.0020.00213.16
7.3.310.0030.00316.15
7.3.300.0000.00716.24
7.3.290.0050.01016.20
7.3.280.0100.00716.19
7.3.270.0090.00917.40
7.3.260.0120.00916.34
7.3.250.0130.00716.19
7.3.240.0090.00916.19
7.3.230.0060.01016.19
7.3.210.0140.00316.16
7.3.200.0120.00616.08
7.3.190.0100.00616.36
7.3.180.0040.01116.22
7.3.170.0100.00716.15
7.3.160.0160.00016.24
7.2.330.0100.01016.52
7.2.320.0030.01316.59
7.2.310.0090.00616.50
7.2.300.0130.00316.36
7.2.290.0130.00416.51
7.2.60.0000.01416.57
7.2.50.0090.00316.65
7.1.200.0030.01015.66
7.1.70.0080.00018.73
7.1.60.0040.00818.73
7.1.50.0040.00718.73
7.1.40.0070.00418.73
7.1.30.0060.00618.73
7.1.20.0000.01918.73
7.1.10.0030.00618.73
7.1.00.0040.00418.73
7.0.200.0000.00718.73
7.0.190.0000.00718.73
7.0.180.0030.01018.73
7.0.170.0080.00018.73
7.0.160.0060.00918.73
7.0.150.0040.00418.73
7.0.140.0030.00718.73
7.0.130.0000.01218.73
7.0.120.0040.00418.73
7.0.110.0040.00418.73
7.0.100.0030.00618.73
7.0.90.0060.00918.73
7.0.80.0050.00218.73
7.0.70.0000.01118.73
7.0.60.0040.00418.73
7.0.50.0030.00718.73
7.0.40.0000.01218.73
7.0.30.0030.00718.73
7.0.20.0000.00918.73
7.0.10.0080.00018.73
7.0.00.0000.00818.73

preferences:
114 ms | 401 KiB | 5 Q