3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_values(); function print_values() { for($i=0;$i<90000000000;$i++) { echo "number.- ".$i; } } ?>

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.0070.01118.18
8.3.50.0180.01321.18
8.3.40.0160.00318.50
8.3.30.0100.01318.88
8.3.20.0050.00520.12
8.3.10.0150.00420.39
8.3.00.0030.00719.38
8.2.180.0190.00916.50
8.2.170.0120.00922.96
8.2.160.0150.00320.39
8.2.150.0050.00524.18
8.2.140.0030.00624.66
8.2.130.0030.00726.16
8.2.120.0030.00722.11
8.2.110.0240.00722.13
8.2.100.0070.00717.59
8.2.90.0090.00019.09
8.2.80.0060.00317.97
8.2.70.0060.00317.50
8.2.60.0030.00618.02
8.2.50.0000.00918.07
8.2.40.0040.00418.09
8.2.30.0050.00319.42
8.2.20.0000.00917.74
8.2.10.0030.00718.21
8.2.00.0040.00417.66
8.1.280.0040.01625.92
8.1.270.0040.00823.99
8.1.260.0090.00026.35
8.1.250.0030.00728.09
8.1.240.0100.00323.77
8.1.230.0140.00319.17
8.1.220.0060.00317.74
8.1.210.0060.00318.77
8.1.200.0030.00717.35
8.1.190.0080.00017.35
8.1.180.0050.00318.10
8.1.170.0070.00318.45
8.1.160.0000.00822.01
8.1.150.0040.00418.76
8.1.140.0030.00517.36
8.1.130.0040.00417.89
8.1.120.0040.00417.43
8.1.110.0090.00017.32
8.1.100.0030.00517.50
8.1.90.0070.00317.33
8.1.80.0040.00417.36
8.1.70.0050.00317.41
8.1.60.0070.00317.56
8.1.50.0060.00317.47
8.1.40.0090.00017.58
8.1.30.0060.00317.67
8.1.20.0050.00317.54
8.1.10.0040.00417.54
8.1.00.0040.01317.48
8.0.300.0070.00418.77
8.0.290.0000.00816.75
8.0.280.0050.00518.31
8.0.270.0050.00517.16
8.0.260.0000.00817.20
8.0.250.0040.00416.88
8.0.240.0050.00316.88
8.0.230.0000.00816.77
8.0.220.0040.00416.76
8.0.210.0040.00416.86
8.0.200.0040.00416.93
8.0.190.0060.00316.83
8.0.180.0080.00016.75
8.0.170.0030.00616.88
8.0.160.0030.00616.68
8.0.150.0030.00616.81
8.0.140.0000.00916.70
8.0.130.0070.00013.20
8.0.120.0060.00316.75
8.0.110.0080.00016.73
8.0.100.0080.00016.81
8.0.90.0000.00816.59
8.0.80.0150.01116.72
8.0.70.0080.00016.68
8.0.60.0040.00716.54
8.0.50.0060.00316.80
8.0.30.0310.02817.02
8.0.20.0250.01517.40
8.0.10.0080.00016.89
8.0.00.0340.01816.59
7.4.330.0030.00315.04
7.4.320.0080.00016.38
7.4.300.0000.00716.37
7.4.290.0040.00416.29
7.4.280.0040.00416.47
7.4.270.0040.00416.49
7.4.260.0130.00416.38
7.4.250.0000.00816.39
7.4.240.0040.00416.44
7.4.230.0030.00616.29
7.4.220.0160.01616.58
7.4.210.0060.01516.41
7.4.200.0000.00916.51
7.4.160.0250.00916.51
7.4.150.0270.02417.40
7.4.140.0360.02417.86
7.4.130.0370.01516.46
7.4.120.0300.01616.38
7.4.110.1000.02716.23
7.4.100.0220.00616.40
7.4.90.0370.02316.29
7.4.80.0470.02219.37
7.4.70.0450.02316.38
7.4.60.0130.01016.36
7.4.50.0040.00716.13
7.4.40.0510.03216.41
7.4.30.0730.02216.37
7.4.00.0090.00914.74
7.3.330.0000.00613.38
7.3.320.0060.00013.27
7.3.310.0030.00516.31
7.3.300.0000.00916.04
7.3.290.0100.01016.21
7.3.280.0130.01816.16
7.3.270.0160.02017.40
7.3.260.0200.01716.29
7.3.250.0380.01916.29
7.3.240.0230.02716.52
7.3.230.0620.02416.39
7.3.210.0450.01416.36
7.3.200.0130.01619.39
7.3.190.0210.01816.26
7.3.180.0190.01016.24
7.3.170.0110.01816.27
7.3.160.0410.01616.48
7.2.330.0410.01716.39
7.2.320.0330.00316.46
7.2.310.0210.01416.65
7.2.300.0480.02116.48
7.2.290.0690.04116.37
7.2.00.0030.01219.39
7.1.200.0040.01115.74
7.1.100.0110.00417.99
7.1.70.0140.00316.81
7.1.60.0180.00919.32
7.1.50.0160.00716.72
7.0.200.0040.01116.67

preferences:
37.32 ms | 401 KiB | 5 Q