3v4l.org

run code in 300+ PHP versions simultaneously
<?php $truth = 2 < 3; echo $truth ? 'Yes two is less than three.' : 'NO two is NOT less than three.';?> <li class='<?php echo $isAdult ? "adult" : "child"; ?>'>

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.01116.50
8.3.50.0100.01016.26
8.3.40.0120.00318.71
8.3.30.0140.00718.50
8.3.20.0000.00920.30
8.3.10.0060.00323.48
8.3.00.0040.00422.03
8.2.180.0090.01216.50
8.2.170.0110.00422.96
8.2.160.0030.01018.93
8.2.150.0070.00025.66
8.2.140.0000.00824.66
8.2.130.0050.00320.89
8.2.120.0050.00326.35
8.2.110.0070.00320.99
8.2.100.0060.00617.72
8.2.90.0000.00819.08
8.2.80.0040.00417.97
8.2.70.0040.00417.75
8.2.60.0080.00018.04
8.2.50.0030.00618.10
8.2.40.0040.00420.59
8.2.30.0000.00921.13
8.2.20.0080.00018.15
8.2.10.0020.00517.86
8.2.00.0000.00918.04
8.1.280.0030.01025.92
8.1.270.0000.00822.05
8.1.260.0030.00526.35
8.1.250.0000.00828.09
8.1.240.0040.00722.03
8.1.230.0080.00417.77
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00717.22
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0040.00418.61
8.1.160.0080.00018.91
8.1.150.0040.00418.86
8.1.140.0050.00319.41
8.1.130.0030.00318.83
8.1.120.0030.00617.36
8.1.110.0040.00417.37
8.1.100.0040.00417.30
8.1.90.0000.00817.39
8.1.80.0030.00317.32
8.1.70.0000.00817.24
8.1.60.0000.00817.54
8.1.50.0040.00417.35
8.1.40.0030.00517.46
8.1.30.0000.00817.45
8.1.20.0000.00717.51
8.1.10.0050.00317.48
8.1.00.0050.00317.36
8.0.300.0000.00718.77
8.0.290.0000.00716.75
8.0.280.0030.00318.34
8.0.270.0030.00517.20
8.0.260.0000.00816.82
8.0.250.0040.00416.89
8.0.240.0080.00017.00
8.0.230.0000.00816.84
8.0.220.0000.00716.77
8.0.210.0030.00316.86
8.0.200.0030.00316.93
8.0.190.0000.00916.77
8.0.180.0000.00716.89
8.0.170.0080.00016.85
8.0.160.0000.00716.97
8.0.150.0000.00716.94
8.0.140.0030.00316.71
8.0.130.0000.00713.33
8.0.120.0050.00316.84
8.0.110.0000.00716.86
8.0.100.0000.00716.89
8.0.90.0040.00416.83
8.0.80.0030.01916.93
8.0.70.0030.00516.83
8.0.60.0050.00216.79
8.0.50.0000.00716.71
8.0.30.0090.00816.91
8.0.20.0110.00717.40
8.0.10.0030.00416.87
8.0.00.0090.00916.55
7.4.330.0050.00015.55
7.4.320.0030.00316.42
7.4.300.0000.00616.51
7.4.290.0000.00716.43
7.4.280.0020.00516.38
7.4.270.0070.00016.47
7.4.260.0050.00216.40
7.4.250.0070.00016.50
7.4.240.0030.00316.37
7.4.230.0040.00416.45
7.4.220.0060.01316.46
7.4.210.0040.01016.46
7.4.200.0070.00016.42
7.4.160.0050.01216.35
7.4.150.0100.00717.40
7.4.140.0110.01217.86
7.4.130.0160.00316.48
7.4.120.0110.00716.38
7.4.110.0110.00616.39
7.4.100.0080.01116.48
7.4.90.0160.00316.39
7.4.80.0120.00319.39
7.4.70.0120.00316.38
7.4.60.0060.01616.52
7.4.50.0000.01116.65
7.4.40.0140.00616.24
7.4.30.0100.00616.44
7.4.00.0060.01214.57
7.3.330.0000.00813.04
7.3.320.0030.00312.95
7.3.310.0030.00516.30
7.3.300.0070.00016.14
7.3.290.0070.00016.18
7.3.280.0150.00816.21
7.3.270.0060.01217.40
7.3.260.0090.01016.26
7.3.250.0100.00816.34
7.3.240.0140.00616.32
7.3.230.0110.01016.35
7.3.210.0090.00616.34
7.3.200.0130.00316.33
7.3.190.0050.01116.36
7.3.180.0060.00916.22
7.3.170.0120.00316.30
7.3.160.0110.00516.53
7.3.10.0030.01016.57
7.3.00.0030.01016.73
7.2.330.0000.01716.18
7.2.320.0120.00916.64
7.2.310.0100.00716.55
7.2.300.0090.00916.30
7.2.290.0180.00316.43
7.2.130.0070.00416.72
7.2.120.0100.00316.87
7.2.110.0030.01016.81
7.2.100.0110.00316.80
7.2.90.0100.00716.62
7.2.80.0100.00616.76
7.2.70.0060.00916.84
7.2.60.0060.00516.60
7.2.50.0130.00016.96
7.2.40.0030.00916.93
7.2.30.0000.01216.61
7.2.20.0030.01316.75
7.2.10.0090.00616.87
7.2.00.0050.00918.01
7.1.250.0070.01015.63
7.1.200.0060.00615.68
7.1.100.0070.00718.01
7.1.70.0310.01314.87
7.1.60.0710.00633.27
7.1.50.2570.02032.80
7.1.40.0630.00732.45
7.1.30.0520.02132.40
7.1.20.0500.01232.55
7.1.10.0270.00714.55
7.1.00.0250.01414.61
7.0.200.0530.00314.87
7.0.190.0410.01314.68
7.0.180.0320.01014.27
7.0.170.0470.00714.36
7.0.160.0320.00714.25
7.0.150.0350.00714.22
7.0.140.0360.01314.38
7.0.130.0330.01714.66
7.0.120.0390.01514.63
7.0.110.0430.00714.47
7.0.100.0470.01614.40
7.0.90.0300.01914.33
7.0.80.0280.01914.58
7.0.70.0610.00914.43
7.0.60.0350.01414.23
7.0.50.0360.01614.36
7.0.40.0220.01514.77
7.0.30.0370.00314.53
7.0.20.0410.00614.44
7.0.10.0410.01014.45
7.0.00.0360.01214.30

preferences:
43.86 ms | 401 KiB | 5 Q