3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo(mt_rand()); ?>

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.2.00.0000.01318.93
7.1.70.0000.01016.97
7.1.60.0070.00317.23
7.1.50.0040.01516.86
7.1.00.0070.07322.57
7.0.200.0200.00516.36
7.0.140.0030.07722.19
7.0.60.0070.06719.99
7.0.50.0030.08717.80
7.0.40.0130.08320.24
7.0.30.0170.04020.20
7.0.20.0230.07020.28
7.0.10.0030.08020.13
7.0.00.0030.08720.12
5.6.280.0030.07320.89
5.6.210.0100.06320.46
5.6.200.0030.04018.11
5.6.190.0070.04020.60
5.6.180.0370.05320.39
5.6.170.0200.05320.54
5.6.160.0000.06020.44
5.6.150.0070.08318.20
5.6.140.0200.06318.18
5.6.130.0000.04318.21
5.6.120.0170.07321.03
5.6.110.0070.06721.04
5.6.100.0070.08321.00
5.6.90.0070.04721.10
5.6.80.0070.06020.52
5.5.350.3430.04720.32
5.5.340.0070.04717.96
5.5.330.0070.08720.48
5.5.320.0370.07020.21
5.5.310.0300.07320.27
5.5.300.0000.04018.01
5.5.290.0100.07018.01
5.5.280.0130.06320.88
5.5.270.0030.05020.75
5.5.260.0030.04020.94
5.5.250.0070.05720.57
5.5.240.0030.08020.11
5.4.450.0870.07019.45
5.4.440.0700.06319.46
5.4.430.0900.05719.53
5.4.420.0530.04019.56
5.4.410.0970.05019.14
5.4.400.0600.05019.27
5.4.390.0000.06319.14
5.4.380.0300.05018.49
5.4.370.0270.05718.61
5.4.360.0230.06718.64
5.4.350.0430.04718.68
5.4.340.0230.06018.51
5.4.320.0090.04412.45
5.4.310.0080.04112.45
5.4.300.0090.03312.45
5.4.290.0100.04912.43
5.4.280.0050.05612.33
5.4.270.0060.05212.33
5.4.260.0080.05112.33
5.4.250.0050.03912.33
5.4.240.0060.05412.33
5.4.230.0060.03912.32
5.4.220.0060.03812.32
5.4.210.0050.03512.32
5.4.200.0040.03912.32
5.4.190.0070.03612.32
5.4.180.0050.03612.32
5.4.170.0050.03712.33
5.4.160.0050.03712.33
5.4.150.0050.03712.32
5.4.140.0060.03612.00
5.4.130.0060.03911.99
5.4.120.0090.03311.95
5.4.110.0060.03911.95
5.4.100.0060.05111.95
5.4.90.0090.05211.95
5.4.80.0040.04711.95
5.4.70.0070.03911.95
5.4.60.0130.05811.95
5.4.50.0110.05911.94
5.4.40.0070.04211.94
5.4.30.0090.05211.93
5.4.20.0050.03611.93
5.4.10.0060.03311.93
5.4.00.0060.03511.43
5.3.290.0080.03812.80
5.3.280.0050.03912.71
5.3.270.0090.03612.72
5.3.260.0050.04012.72
5.3.250.0070.04012.72
5.3.240.0080.03512.72
5.3.230.0060.03912.71
5.3.220.0050.03712.68
5.3.210.0070.03812.68
5.3.200.0050.03712.68
5.3.190.0080.03512.68
5.3.180.0050.03812.68
5.3.170.0050.03712.67
5.3.160.0030.03912.67
5.3.150.0040.04012.67
5.3.140.0050.03712.66
5.3.130.0070.03712.65
5.3.120.0040.04012.65
5.3.110.0070.03812.66
5.3.100.0080.03512.12
5.3.90.0090.03512.09
5.3.80.0040.04012.07
5.3.70.0090.04812.07
5.3.60.0090.04312.07
5.3.50.0040.04812.00
5.3.40.0050.03812.00
5.3.30.0050.03711.95
5.3.20.0080.03311.72
5.3.10.0050.03511.69
5.3.00.0070.03411.68
5.2.170.0060.0309.18
5.2.160.0030.0309.18
5.2.150.0050.0319.18
5.2.140.0070.0289.18
5.2.130.0030.0329.13
5.2.120.0040.0299.13
5.2.110.0040.0329.14
5.2.100.0020.0359.13
5.2.90.0060.0279.14
5.2.80.0050.0299.14
5.2.70.0060.0299.13
5.2.60.0070.0279.09
5.2.50.0050.0309.06
5.2.40.0050.0299.03
5.2.30.0060.0289.01
5.2.20.0030.0318.99
5.2.10.0050.0288.93
5.2.00.0080.0258.79
5.1.60.0080.0208.07
5.1.50.0030.0268.07
5.1.40.0050.0238.05
5.1.30.0040.0268.41
5.1.20.0050.0278.42
5.1.10.0040.0298.15
5.1.00.0020.0278.15
5.0.50.0060.0216.63
5.0.40.0030.0236.48
5.0.30.0030.0326.30
5.0.20.0020.0236.27
5.0.10.0040.0226.24
5.0.00.0020.0316.24
4.4.90.0020.0154.78
4.4.80.0050.0134.75
4.4.70.0020.0164.76
4.4.60.0030.0154.75
4.4.50.0030.0144.77
4.4.40.0010.0264.71
4.4.30.0010.0164.76
4.4.20.0030.0154.85
4.4.10.0020.0164.85
4.4.00.0020.0254.76
4.3.110.0010.0174.67
4.3.100.0010.0164.67
4.3.90.0020.0154.63
4.3.80.0010.0254.59
4.3.70.0010.0164.63
4.3.60.0010.0164.63
4.3.50.0030.0154.63
4.3.40.0020.0254.54
4.3.30.0040.0133.29
4.3.20.0020.0153.26
4.3.10.0040.0133.22
4.3.00.0070.02310.55

preferences:
35.81 ms | 401 KiB | 5 Q