3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_export(empty('0')); var_export((bool) '0');

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.0150.00018.43
8.3.50.0070.01017.91
8.3.40.0110.00418.59
8.3.30.0140.00018.62
8.3.20.0000.00720.18
8.3.10.0030.00520.79
8.3.00.0030.00520.93
8.2.180.0070.00716.75
8.2.170.0070.00722.96
8.2.160.0000.01418.95
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0070.00017.97
8.2.120.0050.00326.35
8.2.110.0070.00322.20
8.2.100.0000.01117.78
8.2.90.0000.00818.91
8.2.80.0050.00317.97
8.2.70.0000.00817.50
8.2.60.0030.00517.80
8.2.50.0030.00518.10
8.2.40.0040.00422.18
8.2.30.0030.00519.13
8.2.20.0000.00717.92
8.2.10.0000.00817.98
8.2.00.0000.00717.93
8.1.280.0140.00325.92
8.1.270.0080.00022.14
8.1.260.0000.00726.35
8.1.250.0070.00028.09
8.1.240.0190.00318.85
8.1.230.0070.00418.92
8.1.220.0050.00317.74
8.1.210.0030.00518.77
8.1.200.0060.00317.25
8.1.190.0040.00417.10
8.1.180.0060.00318.10
8.1.170.0050.00318.65
8.1.160.0000.00718.84
8.1.150.0040.00418.80
8.1.140.0020.00519.49
8.1.130.0030.00518.66
8.1.120.0030.00317.31
8.1.110.0000.00817.32
8.1.100.0000.00817.22
8.1.90.0000.00917.21
8.1.80.0040.00417.25
8.1.70.0030.00617.33
8.1.60.0030.00517.42
8.1.50.0070.00017.27
8.1.40.0060.00617.34
8.1.30.0050.00317.48
8.1.20.0060.00317.46
8.1.10.0040.00417.38
8.1.00.0030.00517.17
8.0.300.0060.00318.77
8.0.290.0050.00316.58
8.0.280.0000.00718.32
8.0.270.0070.00017.11
8.0.260.0070.00019.00
8.0.250.0030.00316.81
8.0.240.0000.00716.79
8.0.230.0030.00516.78
8.0.220.0030.00316.79
8.0.210.0000.00716.69
8.0.200.0000.00716.79
8.0.190.0000.00716.85
8.0.180.0000.00816.89
8.0.170.0060.00916.87
8.0.160.0050.00316.88
8.0.150.0070.00016.78
8.0.140.0030.00316.76
8.0.130.0030.00313.24
8.0.120.0040.00416.79
8.0.110.0000.00816.89
8.0.100.0030.00316.83
8.0.90.0040.00416.70
8.0.80.0060.01216.79
8.0.70.0040.00416.89
8.0.60.0080.00016.87
8.0.50.0040.00416.83
8.0.30.0090.00917.10
8.0.20.0080.01217.40
8.0.10.0000.00716.76
8.0.00.0070.01016.50
7.4.330.0030.00315.55
7.4.320.0060.00016.38
7.4.300.0030.00316.46
7.4.290.0030.00516.44
7.4.280.0050.00316.49
7.4.270.0030.00316.52
7.4.260.0040.00416.31
7.4.250.0040.00416.28
7.4.240.0000.00816.36
7.4.230.0070.00016.29
7.4.220.0090.00916.48
7.4.210.0080.00716.38
7.4.200.0000.00716.58
7.4.160.0110.00516.50
7.4.150.0120.00617.40
7.4.140.0050.01217.86
7.4.130.0090.01416.21
7.4.120.0090.01016.34
7.4.110.0070.01016.52
7.4.100.0140.00716.13
7.4.90.0120.00416.29
7.4.80.0110.00719.39
7.4.70.0100.00616.11
7.4.60.0090.00616.24
7.4.50.0020.01016.42
7.4.40.0000.01616.43
7.4.30.0030.01216.44
7.4.00.0070.01014.64
7.3.330.0030.00312.93
7.3.320.0050.00013.09
7.3.310.0070.00016.15
7.3.300.0030.00316.18
7.3.290.0030.00316.06
7.3.280.0080.01016.22
7.3.270.0100.00717.40
7.3.260.0080.00816.27
7.3.250.0100.00716.23
7.3.240.0050.01216.22
7.3.230.0070.01016.25
7.3.210.0060.01116.42
7.3.200.0110.00516.29
7.3.190.0100.00716.47
7.3.180.0100.00516.29
7.3.170.0100.00716.36
7.3.160.0120.00316.32
7.2.330.0030.01416.34
7.2.320.0080.01116.50
7.2.310.0030.01316.27
7.2.300.0000.01816.09
7.2.290.0110.00416.15
7.2.60.0130.00016.68
7.1.200.0060.00615.64
7.1.70.1430.00015.09
7.1.60.1320.01633.27
7.1.50.1210.01032.92
7.1.40.1330.01432.54
7.1.30.1490.01032.57
7.1.20.1570.01632.72
7.1.10.1430.01014.42
7.1.00.1410.00714.90
7.0.200.1340.01314.93
7.0.190.0970.00714.74
7.0.180.1400.01714.11
7.0.170.1070.01014.38
7.0.160.1380.00914.56
7.0.150.1300.01114.56
7.0.140.1130.00314.49
7.0.130.1410.00714.54
7.0.120.1270.01814.38
7.0.110.1470.00814.50
7.0.100.1440.00614.21
7.0.90.1230.01314.46
7.0.80.1090.01314.38
7.0.70.2620.01714.48
7.0.60.1430.01114.28
7.0.50.1270.01014.53
7.0.40.1200.01314.69
7.0.30.1030.01014.53
7.0.20.1370.00714.34
7.0.10.1260.01014.52
7.0.00.1040.01014.49

preferences:
45.59 ms | 400 KiB | 5 Q