3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo; define('Foo\\true', false); define('Foo\\TRUE', false); var_dump( true, TRUE, \true, \TRUE, get_defined_constants() );

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.0170.01418.26
8.3.50.0240.00622.03
8.3.40.0230.00718.84
8.3.30.0180.00719.21
8.3.20.0040.00820.32
8.3.10.0140.00023.61
8.3.00.0040.01122.45
8.2.180.0250.00416.50
8.2.170.0180.00622.96
8.2.160.0170.00722.17
8.2.150.0070.00724.18
8.2.140.0100.00324.66
8.2.130.0060.00626.16
8.2.120.0070.00719.13
8.2.110.0070.00722.21
8.2.100.0120.00417.78
8.2.90.0060.00619.05
8.2.80.0050.00517.97
8.2.70.0070.00417.63
8.2.60.0030.00717.93
8.2.50.0070.00318.07
8.2.40.0060.00618.28
8.2.30.0070.00417.98
8.2.20.0070.00317.68
8.2.10.0030.00717.57
8.2.00.0070.00317.64
8.1.280.0220.00625.92
8.1.270.0160.01023.88
8.1.260.0070.00726.35
8.1.250.0030.01028.09
8.1.240.0140.00023.79
8.1.230.0100.00719.13
8.1.220.0070.00317.74
8.1.210.0030.00718.77
8.1.200.0080.00617.13
8.1.190.0120.00017.53
8.1.180.0120.00018.10
8.1.170.0080.00318.66
8.1.160.0030.00722.01
8.1.150.0070.00318.61
8.1.140.0070.00417.45
8.1.130.0100.00017.95
8.1.120.0090.00017.47
8.1.110.0070.00417.44
8.1.100.0000.00917.35
8.1.90.0110.00017.35
8.1.80.0000.01017.36
8.1.70.0110.00017.34
8.1.60.0060.00617.46
8.1.50.0000.01017.40
8.1.40.0030.00917.41
8.1.30.0040.00817.59
8.1.20.0070.00317.63
8.1.10.0110.00017.43
8.1.00.0040.00717.43
8.0.300.0030.00618.77
8.0.290.0060.00317.30
8.0.280.0030.00618.48
8.0.270.0060.00317.25
8.0.260.0100.00316.77
8.0.250.0000.00916.98
8.0.240.0080.00316.86
8.0.230.0030.00616.96
8.0.220.0060.00316.80
8.0.210.0080.00316.90
8.0.200.0070.00316.86
8.0.190.0090.00316.82
8.0.180.0100.00616.90
8.0.170.0090.00316.87
8.0.160.0040.00716.83
8.0.150.0070.00416.93
8.0.140.0040.00716.73
8.0.130.0040.00413.19
8.0.120.0030.00716.83
8.0.110.0070.00416.77
8.0.100.0030.00616.74
8.0.90.0030.00716.95
8.0.80.0070.02016.81
8.0.70.0000.01016.93
8.0.60.0060.00316.76
8.0.50.0070.00316.83
8.0.30.0120.03317.17
8.0.20.0220.01917.40
8.0.10.0030.00717.05
8.0.00.0260.01216.65
7.4.330.0030.00315.00
7.4.320.0000.00916.48
7.4.300.0060.00316.64
7.4.290.0060.00316.55
7.4.280.0000.01016.49
7.4.270.0030.00716.61
7.4.260.0030.00716.47
7.4.250.0000.01016.46
7.4.240.0030.00716.59
7.4.230.0000.00916.40
7.4.220.0120.01916.61
7.4.210.0120.01316.62
7.4.200.0000.00916.53
7.4.190.0030.00616.36
7.4.160.0240.01216.47
7.4.150.0140.02417.40
7.4.140.0150.02417.86
7.4.130.0220.01616.63
7.4.120.0360.01716.43
7.4.110.0250.01316.63
7.4.100.0230.01616.39
7.4.90.0150.02216.46
7.4.80.0110.02016.50
7.4.70.0200.01316.45
7.4.60.0160.01616.35
7.4.50.0070.00716.18
7.4.40.0140.00722.77
7.4.30.0180.01216.59
7.4.00.0180.00714.79
7.3.330.0000.00712.94
7.3.320.0000.00813.12
7.3.310.0070.00316.30
7.3.300.0090.00016.11
7.3.290.0130.01316.28
7.3.280.0190.01416.27
7.3.270.0260.01617.40
7.3.260.0280.01516.30
7.3.250.0230.01716.42
7.3.240.0380.00616.36
7.3.230.0160.02016.39
7.3.210.0280.00916.20
7.3.200.0220.01919.39
7.3.190.0190.01216.65
7.3.180.0230.01816.51
7.3.170.0220.01016.27
7.3.160.0150.01916.19
7.3.120.0190.00614.82
7.2.330.0230.01716.71
7.2.320.0250.01616.42
7.2.310.0180.01516.83
7.2.300.0210.01016.29
7.2.290.0070.02516.44
7.2.60.0100.01016.57
7.2.00.0070.01019.31
7.1.200.0030.00915.66
7.1.100.0110.00418.06
7.1.70.0100.00316.95
7.1.60.0140.01819.24
7.1.50.0070.00716.54
7.0.200.0110.00416.55

preferences:
38.75 ms | 401 KiB | 5 Q