3v4l.org

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

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.0180.00316.63
8.3.60.0140.00718.30
8.3.50.0110.00321.93
8.3.40.0110.00418.59
8.3.30.0160.00018.54
8.3.20.0040.00418.51
8.3.10.0080.00019.21
8.3.00.0070.00021.90
8.2.180.0090.01216.63
8.2.170.0080.00622.96
8.2.160.0060.00921.12
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0060.00320.91
8.2.110.0060.00320.90
8.2.100.0070.00417.66
8.2.90.0040.00418.97
8.2.80.0040.00417.97
8.2.70.0040.00417.50
8.2.60.0050.00317.89
8.2.50.0000.00818.07
8.2.40.0000.00718.04
8.2.30.0070.00019.50
8.2.20.0040.00417.51
8.2.10.0080.00017.62
8.2.00.0030.00617.52
8.1.280.0090.00625.92
8.1.270.0040.00423.99
8.1.260.0050.00226.35
8.1.250.0020.00528.09
8.1.240.0060.00623.86
8.1.230.0120.00021.04
8.1.220.0050.00318.77
8.1.210.0000.00918.84
8.1.200.0060.00317.13
8.1.190.0000.00817.40
8.1.180.0000.00918.10
8.1.170.0040.00418.29
8.1.160.0040.00418.77
8.1.150.0070.00018.53
8.1.140.0000.00717.27
8.1.130.0030.00317.75
8.1.120.0000.00817.32
8.1.110.0000.00817.23
8.1.100.0000.00717.37
8.1.90.0040.00417.25
8.1.80.0000.00917.35
8.1.70.0040.00417.21
8.1.60.0060.00317.46
8.1.50.0060.00317.32
8.1.40.0050.00317.39
8.1.30.0000.00717.49
8.1.20.0040.00417.39
8.1.10.0040.00417.36
8.1.00.0080.00017.27
8.0.300.0050.00319.73
8.0.290.0030.00616.88
8.0.280.0000.00718.37
8.0.270.0000.00717.15
8.0.260.0060.00016.60
8.0.250.0040.00416.89
8.0.240.0030.00516.82
8.0.230.0050.00216.75
8.0.220.0040.00416.67
8.0.210.0000.00716.65
8.0.200.0030.00316.76
8.0.190.0030.00516.83
8.0.180.0030.00316.80
8.0.170.0000.00816.80
8.0.160.0060.00316.77
8.0.150.0070.00016.70
8.0.140.0030.00616.65
8.0.130.0030.00313.15
8.0.120.0000.00716.67
8.0.110.0040.00416.88
8.0.100.0040.00416.64
8.0.90.0000.00716.78
8.0.80.0070.00716.75
8.0.70.0050.00216.80
8.0.60.0040.00416.80
8.0.50.0000.00716.68
8.0.30.0130.00617.06
8.0.20.0250.01017.40
8.0.10.0050.00216.67
8.0.00.0100.00816.50
7.4.330.0000.00516.74
7.4.320.0000.00616.32
7.4.300.0060.00016.38
7.4.290.0030.00316.37
7.4.280.0000.00716.38
7.4.270.0060.00016.41
7.4.260.0000.00513.11
7.4.250.0040.00416.42
7.4.240.0030.00316.48
7.4.230.0050.00216.39
7.4.220.0060.01216.35
7.4.210.0090.00916.47
7.4.200.0030.00316.18
7.4.190.0030.00516.43
7.4.160.0090.00616.37
7.4.150.0040.01417.40
7.4.140.0230.00917.86
7.4.130.0070.01016.30
7.4.120.0110.00916.39
7.4.110.0100.01016.30
7.4.100.0130.01016.45
7.4.90.0100.00716.39
7.4.80.0090.00619.39
7.4.70.0130.00716.30
7.4.60.0060.01016.32
7.4.50.0000.00815.95
7.4.40.0060.00922.77
7.4.30.0030.01316.17
7.3.330.0070.00012.95
7.3.320.0000.00512.88
7.3.310.0070.00016.09
7.3.300.0030.00316.12
7.3.290.0070.00716.19
7.3.280.0070.01216.14
7.3.270.0170.00617.40
7.3.260.0080.00818.24
7.3.250.0090.01016.27
7.3.240.0030.01316.07
7.3.230.0030.01316.39
7.3.210.0070.01016.06
7.3.200.0030.01419.39
7.3.190.0130.00416.16
7.3.180.0070.01016.43
7.3.170.0060.01016.27
7.3.160.0060.00916.43
7.2.330.0140.00316.62
7.2.320.0120.00416.57
7.2.310.0080.01216.41
7.2.300.0080.00816.44
7.2.290.0130.00316.21
5.4.160.0100.03912.38
5.4.150.0090.04312.38
5.4.140.0080.04312.07
5.4.130.0120.03912.05
5.4.120.0080.04412.01
5.4.110.0100.04212.01
5.4.100.0100.04212.01
5.4.90.0150.04812.01
5.4.80.0100.04112.01
5.4.70.0090.04212.00
5.4.60.0090.04012.00
5.4.50.0100.03812.00
5.4.40.0110.03711.99
5.4.30.0160.05311.99
5.4.20.0110.03911.99
5.4.10.0110.03711.99
5.4.00.0080.04111.48
5.3.260.0110.04412.72
5.3.250.0110.04012.72
5.3.240.0130.03912.72
5.3.230.0130.05012.71
5.3.220.0130.03712.68
5.3.210.0130.04312.68
5.3.200.0120.04012.68
5.3.190.0110.04112.67
5.3.180.0090.04112.67
5.3.170.0110.03812.67
5.3.160.0100.04012.67
5.3.150.0130.04912.67
5.3.140.0100.04312.66
5.3.130.0120.04412.66
5.3.120.0110.04512.66
5.3.110.0120.04412.66
5.3.100.0150.04512.12
5.3.90.0110.03712.08
5.3.80.0080.04112.08
5.3.70.0110.04212.07
5.3.60.0090.04512.06
5.3.50.0100.04412.00
5.3.40.0100.04312.00
5.3.30.0100.04311.96
5.3.20.0120.04711.74
5.3.10.0110.03711.71
5.3.00.0110.04111.69

preferences:
42.41 ms | 401 KiB | 5 Q