3v4l.org

run code in 300+ PHP versions simultaneously
<?php  echo "Your User Agent is :" . $_SERVER ['HTTP_USER_AGENT'];  ?>  - See more at: http://www.w3resource.com/php-exercises/php-basic-exercises.php#sthash.5p7k6JS0.dpuf

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.00316.75
8.3.50.0120.00922.93
8.3.40.0120.00618.65
8.3.30.0140.00018.96
8.3.20.0040.00420.31
8.3.10.0080.00023.64
8.3.00.0080.00017.38
8.2.180.0090.00916.32
8.2.170.0150.00622.96
8.2.160.0130.00320.28
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0060.00826.16
8.2.120.0040.00420.89
8.2.110.0070.00322.30
8.2.100.0120.00019.29
8.2.90.0060.00319.22
8.2.80.0040.00417.97
8.2.70.0080.00017.50
8.2.60.0080.00017.91
8.2.50.0050.00318.07
8.2.40.0030.00518.16
8.2.30.0060.00317.80
8.2.20.0040.00417.64
8.2.10.0000.00718.00
8.2.00.0070.00017.41
8.1.280.0120.00325.92
8.1.270.0040.00424.02
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00324.00
8.1.230.0090.00318.81
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0030.00617.23
8.1.190.0060.00317.11
8.1.180.0070.00018.10
8.1.170.0050.00318.61
8.1.160.0040.00421.98
8.1.150.0040.00418.71
8.1.140.0040.00417.34
8.1.130.0000.00717.71
8.1.120.0000.00717.35
8.1.110.0030.00517.22
8.1.100.0040.00417.31
8.1.90.0040.00417.23
8.1.80.0000.00717.27
8.1.70.0000.00717.15
8.1.60.0000.00917.37
8.1.50.0050.00317.38
8.1.40.0080.00017.45
8.1.30.0050.00317.50
8.1.20.0040.00417.55
8.1.10.0050.00217.43
8.1.00.0000.00717.41
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0030.00318.38
8.0.270.0070.00017.05
8.0.260.0000.00717.09
8.0.250.0070.00016.71
8.0.240.0030.00516.82
8.0.230.0030.00316.83
8.0.220.0070.00016.73
8.0.210.0030.00316.73
8.0.200.0030.00316.88
8.0.190.0050.00316.78
8.0.180.0070.00016.73
8.0.170.0040.00416.73
8.0.160.0090.00016.72
8.0.150.0030.00716.71
8.0.140.0040.00416.61
8.0.130.0030.00313.47
8.0.120.0000.00816.60
8.0.110.0040.00416.80
8.0.100.0030.00316.86
8.0.90.0070.00016.82
8.0.80.0090.00616.75
8.0.70.0000.00716.70
8.0.60.0040.00416.62
8.0.50.0000.00816.61
8.0.30.0130.00617.10
8.0.20.0070.01117.40
8.0.10.0040.00416.97
8.0.00.0070.01016.43
7.4.330.0000.00615.00
7.4.320.0000.00616.52
7.4.300.0030.00516.37
7.4.290.0030.00316.37
7.4.280.0080.00016.25
7.4.270.0030.00316.44
7.4.260.0000.00716.28
7.4.250.0040.00416.45
7.4.240.0030.00316.39
7.4.230.0050.00216.43
7.4.220.0130.00316.24
7.4.210.0070.01016.34
7.4.200.0020.00516.40
7.4.160.0080.00816.35
7.4.150.0040.01517.40
7.4.140.0120.00517.86
7.4.130.0100.00916.42
7.4.120.0060.01316.44
7.4.110.0140.00316.24
7.4.100.0090.00916.40
7.4.90.0100.01416.36
7.4.80.0000.01819.39
7.4.70.0000.01616.51
7.4.60.0080.01116.41
7.4.50.0000.00816.25
7.4.40.0120.00916.34
7.4.30.0060.00916.44
7.3.330.0010.00613.10
7.3.320.0050.00013.05
7.3.310.0000.00716.13
7.3.300.0000.00716.14
7.3.290.0040.01116.05
7.3.280.0110.00616.15
7.3.270.0130.00317.40
7.3.260.0060.01016.29
7.3.250.0120.00516.21
7.3.240.0060.01016.10
7.3.230.0100.00616.39
7.3.210.0070.01416.14
7.3.200.0100.01319.39
7.3.190.0060.01516.20
7.3.180.0000.01516.06
7.3.170.0060.00916.51
7.3.160.0060.00916.05
7.2.330.0140.00316.54
7.2.320.0120.00916.61
7.2.310.0040.01216.50
7.2.300.0070.01016.18
7.2.290.0060.00916.35
5.4.320.0100.03512.45
5.4.310.0090.03912.45
5.4.300.0080.03512.45
5.4.290.0090.03712.45
5.4.280.0060.03512.35
5.4.270.0040.04612.35
5.4.260.0060.03612.34
5.4.250.0060.03812.35
5.4.240.0050.03612.34
5.4.230.0050.03812.34
5.4.220.0070.03512.34
5.4.210.0080.03912.34
5.4.200.0040.03912.34
5.4.190.0060.04212.34
5.4.180.0060.03812.33
5.4.170.0090.04112.35
5.4.160.0100.03112.34
5.4.150.0040.04012.34
5.4.140.0060.04312.02
5.4.130.0040.04112.01
5.4.120.0040.04011.96
5.4.110.0060.03811.96
5.4.100.0050.03811.96
5.4.90.0040.03811.96
5.4.80.0050.03711.96
5.4.70.0060.03311.96
5.4.60.0070.03311.96
5.4.50.0070.03311.96
5.4.40.0060.03411.95
5.4.30.0060.03411.94
5.4.20.0050.03511.95
5.4.10.0080.03211.95
5.4.00.0070.03511.43

preferences:
46.78 ms | 401 KiB | 5 Q