3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = microtime(true); try { require_once('foo.php'); } catch(\Exception $e) {} echo microtime(true) - $t;

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)
7.3.10.0070.00716.51
7.3.00.0100.00316.57
7.2.130.0060.00816.86
7.2.120.0060.00816.63
7.2.110.0060.00816.79
7.2.100.0060.00616.71
7.2.90.0030.00816.58
7.2.80.0040.00916.77
7.2.70.0050.00716.90
7.2.60.0060.00816.81
7.2.50.0060.00716.71
7.2.40.0020.00916.80
7.2.30.0080.00616.93
7.2.20.0090.00316.77
7.2.10.0060.00616.83
7.2.00.0030.00816.75
7.1.250.0070.00515.64
7.1.70.0060.00317.01
7.1.60.0110.01119.32
7.1.50.0030.01016.49
7.1.00.0000.07722.49
7.0.200.0070.00316.46
7.0.140.0000.07322.08
7.0.70.4500.05019.93
7.0.60.0030.08319.90
7.0.50.0130.07017.91
7.0.40.0100.06720.21
7.0.30.0030.04020.14
7.0.20.0370.07320.01
7.0.10.0330.07720.18
7.0.00.0070.06720.21
5.6.280.0070.07020.86
5.6.210.0000.09020.61
5.6.200.0100.05018.23
5.6.190.0100.03720.58
5.6.180.0330.07020.38
5.6.170.0400.06720.52
5.6.160.0000.04320.41
5.6.150.0030.04318.13
5.6.140.0100.03318.22
5.6.130.0070.07318.21
5.6.120.0030.04020.99
5.6.110.0100.08020.98
5.6.100.0030.08721.00
5.6.90.0030.08320.96
5.6.80.0100.06320.38
5.6.70.0200.05320.37
5.5.350.0130.07720.44
5.5.340.0000.04317.93
5.5.330.0100.03320.13
5.5.320.0100.05320.41
5.5.310.0330.08720.31
5.5.300.0100.08017.92
5.5.290.0100.08018.01
5.5.280.0100.08320.86
5.5.270.0070.08720.86
5.5.260.0030.08020.79
5.5.250.0100.07020.56
5.5.240.0000.08320.24
5.4.450.0130.05719.28
5.4.440.0100.06019.32
5.4.430.0800.06719.55
5.4.420.0670.00019.36
5.4.410.0630.00019.19
5.4.400.0630.00019.13
5.4.390.0600.00019.09
5.4.380.0630.00019.07
5.4.370.0600.00019.05
5.4.360.0600.00018.95
5.4.350.0630.00019.06
5.4.340.0070.03711.98
5.4.320.0070.03812.46
5.4.310.0100.03612.46
5.4.300.0090.03512.47
5.4.290.0070.03712.46
5.4.280.0040.03712.36
5.4.270.0090.04012.36
5.4.260.0050.04512.36
5.4.250.0070.04612.36
5.4.240.0080.04212.36
5.4.230.0050.04012.35
5.4.220.0050.03612.36
5.4.210.0080.03312.35
5.4.200.0060.03812.36
5.4.190.0060.03712.35
5.4.180.0060.03712.35
5.4.170.0060.03712.36
5.4.160.0090.03612.36
5.4.150.0050.03712.35
5.4.140.0040.03912.04
5.4.130.0070.03712.03
5.4.120.0090.03711.98
5.4.110.0060.03611.98
5.4.100.0080.03411.98
5.4.90.0100.03411.98
5.4.80.0090.03711.98
5.4.70.0070.03611.97
5.4.60.0040.03711.98
5.4.50.0060.03511.98
5.4.40.0030.03811.96
5.4.30.0100.03211.96
5.4.20.0060.03611.96
5.4.10.0070.03311.96
5.4.00.0090.04711.45
5.3.290.0040.04912.80
5.3.280.0090.04012.71
5.3.270.0100.03812.73
5.3.260.0080.04012.71
5.3.250.0060.04212.72
5.3.240.0070.03712.72
5.3.230.0050.03912.71
5.3.220.0080.04112.68
5.3.210.0070.03912.68
5.3.200.0040.03812.68
5.3.190.0020.04212.68
5.3.180.0060.04512.67
5.3.170.0080.04012.67
5.3.160.0040.04512.67
5.3.150.0070.03612.67
5.3.140.0070.03512.66
5.3.130.0070.03812.66
5.3.120.0060.03912.66
5.3.110.0130.03812.66
5.3.100.0100.03412.12
5.3.90.0030.03912.08
5.3.80.0050.03812.07
5.3.70.0080.04712.08
5.3.60.0130.03912.06
5.3.50.0050.03712.01
5.3.40.0060.03912.00
5.3.30.0080.03711.96
5.3.20.0080.03411.74
5.3.10.0070.04211.71
5.3.00.0050.03911.70
5.2.170.0050.0319.18
5.2.160.0030.0389.19
5.2.150.0060.0319.18
5.2.140.0040.0329.18
5.2.130.0060.0339.14
5.2.120.0060.0369.14
5.2.110.0030.0329.15
5.2.100.0090.0259.15
5.2.90.0030.0349.15
5.2.80.0020.0329.14
5.2.70.0040.0319.14
5.2.60.0090.0289.10
5.2.50.0020.0339.07
5.2.40.0060.0339.04
5.2.30.0090.0299.02
5.2.20.0040.0309.01
5.2.10.0070.0268.94
5.2.00.0050.0288.79
5.1.60.0060.0248.07
5.1.50.0010.0278.07
5.1.40.0040.0248.06
5.1.30.0040.0258.40
5.1.20.0040.0308.43
5.1.10.0020.0288.15
5.1.00.0060.0258.16
5.0.50.0030.0216.63
5.0.40.0030.0196.48
5.0.30.0050.0296.30
5.0.20.0040.0216.27
5.0.10.0020.0216.25
5.0.00.0070.0316.24
4.4.90.0030.0154.78
4.4.80.0060.0154.75
4.4.70.0040.0174.76
4.4.60.0020.0164.75
4.4.50.0030.0154.77
4.4.40.0040.0274.71
4.4.30.0040.0154.76
4.4.20.0040.0154.84
4.4.10.0030.0164.85
4.4.00.0040.0254.76
4.3.110.0010.0184.67
4.3.100.0060.0164.66
4.3.90.0030.0174.64
4.3.80.0040.0254.58
4.3.70.0010.0164.63
4.3.60.0030.0144.63
4.3.50.0010.0174.63
4.3.40.0040.0264.54
4.3.30.0030.0153.28
4.3.20.0030.0153.26
4.3.10.0020.0163.22
4.3.00.0170.0237.17

preferences:
35.49 ms | 401 KiB | 5 Q