3v4l.org

run code in 300+ PHP versions simultaneously
<?php define("__FLAG__", 1); define("__DEBUG__", __FLAG__); // the flag is hidden here. find it lol if(1 === __DEBUG__){ echo "development server"; }else{ echo "production server"; }

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.00316.63
8.3.50.0110.00719.69
8.3.40.0040.01118.70
8.3.30.0070.01118.71
8.3.20.0050.00318.60
8.3.10.0040.00423.61
8.3.00.0080.00020.93
8.2.180.0100.01016.63
8.2.170.0040.01122.96
8.2.160.0070.00720.35
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0040.00421.06
8.2.120.0040.00426.35
8.2.110.0060.00322.14
8.2.100.0040.00817.78
8.2.90.0060.00319.33
8.2.80.0040.00418.03
8.2.70.0040.00417.91
8.2.60.0030.00517.80
8.2.50.0070.00018.10
8.2.40.0040.00420.39
8.2.30.0040.00419.06
8.2.20.0020.00518.01
8.2.10.0070.00018.05
8.2.00.0000.00717.68
8.1.280.0030.01225.92
8.1.270.0050.00322.20
8.1.260.0060.00328.09
8.1.250.0000.00728.09
8.1.240.0060.00320.82
8.1.230.0090.00322.75
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0040.00417.22
8.1.190.0040.00417.10
8.1.180.0030.00518.10
8.1.170.0000.00818.89
8.1.160.0040.00420.60
8.1.150.0050.00220.32
8.1.140.0040.00419.45
8.1.130.0070.00017.55
8.1.120.0040.00417.39
8.1.110.0040.00417.45
8.1.100.0000.00717.40
8.1.90.0000.00817.29
8.1.80.0040.00417.27
8.1.70.0050.00317.38
8.1.60.0050.00217.42
8.1.50.0000.00817.36
8.1.40.0040.00417.42
8.1.30.0080.00017.47
8.1.20.0040.00417.61
8.1.10.0000.00817.41
8.1.00.0000.01017.38
8.0.300.0000.00719.90
8.0.290.0030.00616.63
8.0.280.0000.00718.34
8.0.270.0030.00317.25
8.0.260.0080.00017.06
8.0.250.0030.00316.83
8.0.240.0040.00416.82
8.0.230.0070.00016.86
8.0.220.0040.00416.74
8.0.210.0060.00316.81
8.0.200.0030.00316.93
8.0.190.0030.00716.90
8.0.180.0050.00216.76
8.0.170.0000.00716.82
8.0.160.0080.00016.85
8.0.150.0030.00316.76
8.0.140.0000.00716.70
8.0.130.0060.00013.23
8.0.120.0080.00016.70
8.0.110.0000.00716.79
8.0.100.0000.00716.91
8.0.90.0040.00416.82
8.0.80.0060.00916.84
8.0.70.0000.00716.73
8.0.60.0050.00216.94
8.0.50.0000.00716.71
8.0.30.0120.00517.08
8.0.20.0110.00717.40
8.0.10.0040.00416.88
8.0.00.0130.00316.52
7.4.330.0020.00215.55
7.4.320.0000.00616.48
7.4.300.0060.00016.45
7.4.290.0030.00316.41
7.4.280.0060.00316.43
7.4.270.0040.00416.50
7.4.260.0000.00716.41
7.4.250.0040.00416.39
7.4.240.0070.00016.44
7.4.230.0000.00716.54
7.4.220.0030.01616.55
7.4.210.0090.00616.55
7.4.200.0050.00516.32
7.4.160.0110.00916.27
7.4.150.0140.00317.40
7.4.140.0110.00617.86
7.4.130.0090.01116.45
7.4.120.0120.00716.39
7.4.110.0120.00616.36
7.4.100.0130.00616.26
7.4.90.0070.01116.41
7.4.80.0090.00719.39
7.4.70.0110.00717.96
7.4.60.0110.00517.91
7.4.50.0100.00817.84
7.4.40.0060.01117.98
7.4.30.0050.01317.92
7.4.20.0080.00919.39
7.4.10.0060.01117.04
7.4.00.0070.01016.01
7.3.330.0030.00313.04
7.3.320.0030.00312.95
7.3.310.0030.00316.13
7.3.300.0080.00016.18
7.3.290.0070.01016.17
7.3.280.0120.00616.20
7.3.270.0070.01317.40
7.3.260.0110.00816.37
7.3.250.0120.00716.18
7.3.240.0150.00316.30
7.3.230.0180.00316.39
7.3.210.0140.00616.34
7.3.200.0060.00919.39
7.3.190.0100.00917.89
7.3.180.0090.00717.95
7.3.170.0070.01217.86
7.3.160.0150.00417.85
7.3.150.0100.00719.39
7.3.140.0080.00819.39
7.3.130.0080.01117.02
7.3.120.0120.00616.29
7.3.110.0030.01216.23
7.3.100.0070.01016.27
7.3.90.0060.00916.22
7.3.80.0070.00716.41
7.3.70.0080.00716.29
7.3.60.0070.00816.21
7.3.50.0090.00716.11
7.3.40.0060.00716.13
7.3.30.0090.00516.30
7.3.20.0030.01217.52
7.3.10.0060.01017.47
7.3.00.0050.00917.51
7.2.330.0140.00516.71
7.2.320.0100.00719.39
7.2.310.0150.00317.88
7.2.300.0100.00717.96
7.2.290.0130.00717.99
7.2.280.0030.01519.39
7.2.270.0130.00619.39
7.2.260.0110.00517.09
7.2.250.0100.00916.44
7.2.240.0110.00616.59
7.2.230.0050.01216.35
7.2.220.0050.01016.21
7.2.210.0040.01016.38
7.2.200.0080.00816.42
7.2.190.0060.00916.27
7.2.180.0020.01516.38
7.2.170.0060.00816.40
7.2.160.0070.00816.23
7.2.150.0080.00517.53
7.2.140.0080.00617.70
7.2.130.0090.00817.54
7.2.120.0060.00817.42
7.2.110.0060.00917.68
7.2.100.0090.00517.66
7.2.90.0060.01317.59
7.2.80.0110.00617.76
7.2.70.0050.01017.68
7.2.60.0030.01217.42
7.2.50.0050.01117.29
7.2.40.0060.01017.82
7.2.30.0090.00717.72
7.2.20.0100.00617.56
7.2.10.0090.00717.60
7.2.00.0100.00717.94
7.1.330.0130.00516.85
7.1.320.0140.00416.98
7.1.310.0340.00816.98
7.1.300.0110.00616.89
7.1.290.0080.01116.93
7.1.280.0100.00816.85
7.1.270.0090.00816.90
7.1.260.0070.01216.83
7.1.250.0120.00516.87
7.1.240.0130.00716.94
7.1.230.0120.01116.80
7.1.220.0110.00516.90
7.1.210.0150.00816.85
7.1.200.0090.00916.54
7.1.190.0060.01216.99
7.1.180.0090.00916.98
7.1.170.0130.00816.77
7.1.160.0090.00816.95
7.1.150.0190.00816.94
7.1.140.0110.00616.98
7.1.130.0130.00416.90
7.1.120.0130.00816.96
7.1.110.0130.00616.80
7.1.100.0120.00716.82
7.1.90.0120.00816.87
7.1.80.0120.00616.96
7.1.70.0090.00617.05
7.1.60.0150.00917.08
7.1.50.0080.01016.92
7.1.40.0110.00716.93
7.1.30.0150.00416.88
7.1.20.0100.00816.97
7.1.10.0120.00616.97
7.1.00.0080.02518.28
7.0.330.0080.00616.58
7.0.320.0080.00916.73
7.0.310.0090.01116.74
7.0.300.0090.01016.66
7.0.290.0120.00516.63
7.0.280.0080.00916.77
7.0.270.0090.01116.77
7.0.260.0090.01116.75
7.0.250.0130.00416.65
7.0.240.0090.00916.73
7.0.230.0090.00916.64
7.0.220.0070.00916.75
7.0.210.0090.01016.69
7.0.200.0230.00716.02
7.0.190.0100.01016.71
7.0.180.0080.01016.64
7.0.170.0090.00616.59
7.0.160.0110.00716.60
7.0.150.0040.01016.70
7.0.140.0080.00916.73
7.0.130.0100.02218.10
7.0.120.0120.01818.03
7.0.110.0120.01918.01
7.0.100.0100.01818.09
7.0.90.0110.01918.00
7.0.80.0140.02118.04
7.0.70.0090.02118.04
7.0.60.0110.02018.07
7.0.50.0150.01418.04
7.0.40.0100.01617.11
7.0.30.0120.01916.98
7.0.20.0130.01717.10
7.0.10.0090.02217.01
7.0.00.0130.01817.09
5.6.400.0070.00916.05
5.6.390.0060.01115.98
5.6.380.0100.01115.98
5.6.370.0060.01115.90
5.6.360.0110.00615.90
5.6.350.0140.00615.92
5.6.340.0110.00716.04
5.6.330.0100.00916.17
5.6.320.0090.00816.16
5.6.310.0090.01016.15
5.6.300.0070.00916.08
5.6.290.0130.00516.13
5.6.280.0100.01817.19
5.6.270.0110.02217.31
5.6.260.0100.02117.24
5.6.250.0100.02117.23
5.6.240.0110.02017.11
5.6.230.0080.02517.36
5.6.220.0110.01817.21
5.6.210.0140.01917.12
5.6.200.0110.01917.34
5.6.190.0060.02417.19
5.6.180.0140.01617.16
5.6.170.0090.02217.27
5.6.160.0120.01917.27
5.6.150.0100.02417.24
5.6.140.0150.02117.31
5.6.130.0100.02317.06
5.6.120.0110.02117.27
5.6.110.0080.02317.25
5.6.100.0090.02417.22
5.6.90.0100.02317.25
5.6.80.0120.01917.09
5.6.70.0110.01916.93
5.6.60.0140.01717.10
5.6.50.0090.02417.05
5.6.40.0100.02117.10
5.6.30.0160.01517.08
5.6.20.0110.01917.05
5.6.10.0100.02016.94
5.6.00.0110.01716.97

preferences:
58.57 ms | 401 KiB | 5 Q