3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace N; define('false', '- false -'); define('\N\false', '- \\N\\false -'); define('N\false', '- N\\false -'); define('FALSE', '- FALSE -'); define('null', '- null -'); define('\N\null', '- \\N\\null -'); define('N\null', '- N\\null -'); define('NULL', '- NULL -'); define('N\NULL', '- N\\NULL -'); var_export(array(TRUE, true, FALSE, false, NULL, null));

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.70.0150.00316.58
8.3.60.0090.00616.88
8.3.50.0170.00521.09
8.3.40.0130.00318.70
8.3.30.0000.01418.71
8.3.20.0050.00220.34
8.3.10.0080.00021.88
8.3.00.0040.00423.53
8.2.190.0140.00716.63
8.2.180.0150.00025.92
8.2.170.0070.00718.80
8.2.160.0120.00622.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0050.00319.51
8.2.120.0040.00426.35
8.2.110.0050.00520.57
8.2.100.0120.00017.78
8.2.90.0040.00419.05
8.2.80.0040.00417.97
8.2.70.0040.00417.25
8.2.60.0080.00017.80
8.2.50.0000.00918.10
8.2.40.0050.00322.32
8.2.30.0000.00819.38
8.2.20.0080.00017.57
8.2.10.0000.01018.05
8.2.00.0000.00818.04
8.1.280.0090.00625.92
8.1.270.0040.00424.66
8.1.260.0150.00326.35
8.1.250.0020.00528.09
8.1.240.0060.00323.97
8.1.230.0070.00417.58
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0000.00817.00
8.1.190.0080.00017.10
8.1.180.0000.00818.10
8.1.170.0000.00818.57
8.1.160.0040.00420.64
8.1.150.0040.00418.77
8.1.140.0090.00019.45
8.1.130.0000.00717.46
8.1.120.0000.00717.35
8.1.110.0060.00317.39
8.1.100.0000.00717.38
8.1.90.0070.00017.22
8.1.80.0050.00217.33
8.1.70.0000.00717.20
8.1.60.0000.00817.36
8.1.50.0080.00017.48
8.1.40.0000.00817.41
8.1.30.0000.00817.52
8.1.20.0040.00417.57
8.1.10.0040.00417.38
8.1.00.0000.00717.36
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0070.00018.26
8.0.270.0090.00018.55
8.0.260.0030.00317.19
8.0.250.0030.00316.89
8.0.240.0070.00016.74
8.0.230.0030.00316.74
8.0.220.0000.00716.88
8.0.210.0040.00416.71
8.0.200.0050.00216.87
8.0.190.0000.00816.79
8.0.180.0060.00316.85
8.0.170.0080.00016.85
8.0.160.0030.00316.84
8.0.150.0030.00616.78
8.0.140.0000.00816.82
8.0.130.0060.00313.29
8.0.120.0030.00516.73
8.0.110.0040.00416.73
8.0.100.0000.00716.68
8.0.90.0080.00016.91
8.0.80.0090.01216.81
8.0.70.0050.00216.83
8.0.60.0000.00716.72
8.0.50.0000.00716.86
8.0.30.0070.01117.03
8.0.20.0100.01017.40
8.0.10.0040.00316.85
8.0.00.0090.01116.51
7.4.330.0030.00316.84
7.4.320.0070.00016.38
7.4.300.0000.00616.35
7.4.290.0030.00316.48
7.4.280.0060.00316.48
7.4.270.0060.00016.44
7.4.260.0030.00316.32
7.4.250.0000.00716.45
7.4.240.0060.00216.43
7.4.230.0000.00716.32
7.4.220.0000.01616.41
7.4.210.0150.00616.48
7.4.200.0000.00716.18
7.4.160.0030.01416.35
7.4.150.0060.01217.40
7.4.140.0060.01117.86
7.4.130.0120.00416.44
7.4.120.0130.00716.29
7.4.110.0170.00316.11
7.4.100.0040.01416.53
7.4.90.0030.01316.24
7.4.80.0140.00319.39
7.4.70.0070.01016.52
7.4.60.0080.00816.50
7.4.50.0090.00616.38
7.4.40.0060.01016.41
7.4.30.0140.00316.30
7.4.00.0080.00814.93
7.3.330.0030.00313.12
7.3.320.0030.00313.12
7.3.310.0040.00416.08
7.3.300.0030.00316.06
7.3.290.0070.00016.20
7.3.280.0090.00516.17
7.3.270.0120.01317.40
7.3.260.0070.01016.34
7.3.250.0090.00816.13
7.3.240.0130.00616.35
7.3.230.0110.00716.39
7.3.210.0030.01216.27
7.3.200.0060.01519.39
7.3.190.0120.00416.35
7.3.180.0100.00716.20
7.3.170.0080.00916.27
7.3.160.0100.00716.29
7.3.120.0060.01314.86
7.3.110.0090.00914.46
7.3.100.0000.01614.33
7.3.90.0000.01314.57
7.3.80.0000.01814.67
7.3.70.0070.01114.80
7.3.60.0030.01314.71
7.3.50.0070.00714.72
7.3.40.0090.00614.52
7.3.30.0150.00014.63
7.3.20.0040.00716.51
7.3.10.0080.00516.42
7.3.00.0090.00316.34
7.2.330.0120.00616.48
7.2.320.0060.00916.43
7.2.310.0070.01016.54
7.2.300.0030.01316.55
7.2.290.0070.01016.44
7.2.250.0000.01714.81
7.2.240.0040.01114.97
7.2.230.0040.01115.06
7.2.220.0060.00314.82
7.2.210.0030.01014.93
7.2.200.0000.01715.08
7.2.190.0090.00914.77
7.2.180.0070.01114.89
7.2.170.0040.01114.82
7.2.130.0080.00816.54
7.2.120.0040.01116.58
7.2.110.0090.00616.44
7.2.100.0030.00916.38
7.2.90.0030.01016.35
7.2.80.0120.00316.79
7.2.70.0030.00916.41
7.2.60.0070.00716.83
7.2.50.0120.00316.70
7.2.40.0030.01216.81
7.2.30.0070.01116.67
7.2.20.0130.00316.76
7.2.10.0090.00016.61
7.2.00.0030.01217.83
7.1.330.0030.01315.52
7.1.320.0000.01415.54
7.1.310.0110.00315.29
7.1.300.0040.01415.55
7.1.290.0110.00415.73
7.1.280.0030.00515.34
7.1.270.0060.00915.34
7.1.260.0070.00715.61
7.1.250.0070.00715.37
7.1.200.0090.00315.19
7.1.100.0000.00817.73
7.1.70.0070.00717.00
7.1.60.0100.01319.30
7.1.50.0120.00916.86
7.1.00.0100.07022.57
7.0.200.1120.00714.62
7.0.60.0070.08021.75
7.0.50.0070.05317.85
7.0.40.0070.04020.04
7.0.30.0200.08320.17
7.0.20.0130.04720.12
7.0.10.0100.07320.13
7.0.00.0000.04720.00
5.6.280.0000.03721.04
5.6.210.0100.08020.68
5.6.200.0070.05718.16
5.6.190.0200.06720.56
5.6.180.0470.07320.39
5.6.170.0200.05020.51
5.6.160.0100.06320.48
5.6.150.0130.07718.21
5.6.140.0070.08018.18
5.6.130.0130.07318.17
5.6.120.0030.08720.87
5.6.110.0130.08021.01
5.6.100.0100.08020.97
5.6.90.0070.05321.01
5.6.80.0100.07720.39
5.5.350.0170.07020.53
5.5.340.0030.08318.00
5.5.330.0000.09020.21
5.5.320.0530.04320.17
5.5.310.0270.06020.21
5.5.300.0100.08017.97
5.5.290.0070.06317.98
5.5.280.0170.05720.87
5.5.270.0100.08320.86
5.5.260.0030.07720.63
5.5.250.0200.06720.55
5.5.240.0100.07720.07

preferences:
39.74 ms | 401 KiB | 5 Q