3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = 1; if (!($t>0)) { echo 'ok'; } else { echo 'ko'; }

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.0040.01118.30
8.3.50.0100.00718.08
8.3.40.0090.00618.58
8.3.30.0160.00318.71
8.3.20.0050.00319.21
8.3.10.0000.00721.73
8.3.00.0070.00020.75
8.2.180.0100.00718.16
8.2.170.0110.00422.96
8.2.160.0130.00020.66
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0070.01319.76
8.2.120.0000.00826.35
8.2.110.0070.00419.31
8.2.100.0090.00617.84
8.2.90.0000.00817.63
8.2.80.0000.00817.97
8.2.70.0080.00018.04
8.2.60.0040.00418.03
8.2.50.0060.00318.10
8.2.40.0000.00719.47
8.2.30.0050.00319.27
8.2.20.0040.00418.16
8.2.10.0000.00818.01
8.2.00.0040.00417.66
8.1.280.0110.00725.92
8.1.270.0070.00018.88
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0050.00522.18
8.1.230.0110.00022.21
8.1.220.0080.00017.74
8.1.210.0030.00618.77
8.1.200.0000.00817.23
8.1.190.0000.00817.35
8.1.180.0000.00818.10
8.1.170.0000.00818.55
8.1.160.0000.00818.90
8.1.150.0000.00718.88
8.1.140.0000.00722.13
8.1.130.0000.00722.09
8.1.120.0060.00317.38
8.1.110.0000.00717.34
8.1.100.0000.00717.47
8.1.90.0050.00317.50
8.1.80.0030.00517.47
8.1.70.0070.00017.39
8.1.60.0000.00817.63
8.1.50.0030.00617.40
8.1.40.0060.00317.50
8.1.30.0030.00517.50
8.1.20.0000.00817.61
8.1.10.0030.00617.55
8.1.00.0000.00817.46
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0000.00718.48
8.0.270.0070.00017.26
8.0.260.0030.00318.36
8.0.250.0020.00516.93
8.0.240.0060.00016.96
8.0.230.0100.00016.78
8.0.220.0040.00716.93
8.0.210.0030.00316.78
8.0.200.0040.00416.84
8.0.190.0000.00716.98
8.0.180.0000.00816.84
8.0.170.0040.00416.80
8.0.160.0080.00016.90
8.0.150.0080.00016.75
8.0.140.0000.00716.74
8.0.130.0030.00313.25
8.0.120.0050.00216.88
8.0.110.0040.00416.84
8.0.100.0070.00016.86
8.0.90.0000.00716.89
8.0.80.0080.00716.86
8.0.70.0040.00416.92
8.0.60.0050.00216.96
8.0.50.0050.00216.95
8.0.30.0120.00617.13
8.0.20.0080.01017.40
8.0.10.0070.00016.81
8.0.00.0100.00916.65
7.4.330.0000.00515.55
7.4.320.0030.00316.49
7.4.300.0000.00616.59
7.4.290.0030.00316.64
7.4.280.0000.00816.55
7.4.270.0000.00816.62
7.4.260.0030.00316.56
7.4.250.0030.00316.47
7.4.240.0030.00316.59
7.4.230.0080.00016.52
7.4.220.0040.00416.67
7.4.210.0070.01016.56
7.4.200.0040.00416.57
7.4.160.0110.00816.56
7.4.140.0090.00917.86
7.4.130.0130.00316.48
7.4.120.0090.01016.44
7.4.110.0100.00716.45
7.4.100.0130.01016.35
7.4.90.0090.00916.52
7.4.80.0150.00619.39
7.4.70.0120.00316.44
7.4.60.0060.01316.32
7.4.50.0100.00716.55
7.4.40.0100.01016.38
7.3.330.0030.00312.95
7.3.320.0020.00213.07
7.3.310.0030.00616.05
7.3.300.0070.00016.19
7.3.290.0040.00416.20
7.3.280.0060.01116.25
7.3.260.0100.01016.38
7.3.240.0110.00716.23
7.3.230.0080.00816.28
7.3.210.0110.01116.59
7.3.200.0110.00616.22
7.3.190.0060.00916.47
7.3.180.0100.00716.48
7.3.170.0080.01416.42
7.3.160.0150.00916.29
7.2.330.0120.00616.47
7.2.320.0130.01016.50
7.2.310.0040.01416.53
7.2.300.0030.01316.61
7.2.290.0110.01116.61

preferences:
43.93 ms | 401 KiB | 5 Q