3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = rand(1111,1999); $lastfour = rand(2000,9999); $start=$start . $lastfour; var_dump($start)

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)
5.4.280.0060.06012.33
5.4.270.0080.05612.32
5.4.260.0090.05312.33
5.4.250.0130.07912.33
5.4.240.0120.06712.33
5.4.230.0110.04812.32
5.4.220.0140.07712.32
5.4.210.0080.04612.32
5.4.200.0070.05612.32
5.4.190.0250.10112.31
5.4.180.0170.09912.32
5.4.170.0070.04912.33
5.4.160.0120.06112.32
5.4.150.0080.04812.32
5.4.140.0060.05312.00
5.4.130.0180.07111.99
5.4.120.0100.06111.95
5.4.110.0100.06311.95
5.4.100.0070.04311.95
5.4.90.0090.07511.95
5.4.80.0130.06611.95
5.4.70.0210.06911.95
5.4.60.0180.06011.95
5.4.50.0120.05611.95
5.4.40.0210.07311.93
5.4.30.0170.06811.93
5.4.20.0160.09611.93
5.4.10.0130.05611.93
5.4.00.0060.05811.43
5.3.280.0200.10512.71
5.3.270.0100.05412.73
5.3.260.0140.05012.72
5.3.250.0160.07112.72
5.3.240.0160.09112.72
5.3.230.0130.06512.71
5.3.220.0140.05312.68
5.3.210.0160.07012.68
5.3.200.0130.06612.68
5.3.190.0120.06312.68
5.3.180.0120.08812.67
5.3.170.0210.09212.66
5.3.160.0220.08712.67
5.3.150.0110.07212.67
5.3.140.0200.07512.66
5.3.130.0130.07712.66
5.3.120.0190.09012.66
5.3.110.0300.14612.66
5.3.100.0080.06412.12
5.3.90.0120.06612.08
5.3.80.0220.10112.07
5.3.70.0140.07312.07
5.3.60.0150.06812.06
5.3.50.0160.07412.00
5.3.40.0170.06612.00
5.3.30.0110.07011.94
5.3.20.0120.07311.70
5.3.10.0070.08311.67
5.3.00.0130.09011.66
5.2.170.0060.0489.16
5.2.160.0100.1039.15
5.2.150.0100.0449.15
5.2.140.0050.0709.15
5.2.130.0100.0649.11
5.2.120.0060.0589.11
5.2.110.0130.0549.12
5.2.100.0080.0429.11
5.2.90.0090.0679.11
5.2.80.0080.0449.11
5.2.70.0080.0549.11
5.2.60.0090.0589.06
5.2.50.0220.0969.04
5.2.40.0090.0579.01
5.2.30.0120.0438.99
5.2.20.0140.0618.97
5.2.10.0070.0518.90
5.2.00.0150.0638.76
5.1.60.0080.0538.05
5.1.50.0130.0448.05
5.1.40.0110.0428.03
5.1.30.0080.0428.38
5.1.20.0100.0608.40
5.1.10.0140.0378.13
5.1.00.0090.0518.13
5.0.50.0150.0566.61
5.0.40.0080.0456.47
5.0.30.0090.0686.27
5.0.20.0070.0546.25
5.0.10.0040.0206.23
5.0.00.0050.0566.21
4.4.90.0080.0594.78
4.4.80.0040.0224.75
4.4.70.0040.0154.75
4.4.60.0130.0334.75
4.4.50.0110.0404.77
4.4.40.0140.0494.71
4.4.30.0090.0344.76
4.4.20.0020.0524.84
4.4.10.0090.0374.85
4.4.00.0030.0434.76
4.3.110.0060.0414.66
4.3.100.0120.0214.67
4.3.90.0040.0194.63
4.3.80.0040.0314.58
4.3.70.0060.0204.63
4.3.60.0140.0364.63
4.3.50.0070.0304.63
4.3.40.0050.0314.54
4.3.30.0050.0203.27
4.3.20.0040.0223.26
4.3.10.0050.0213.21
4.3.00.0030.01715.44

preferences:
141.86 ms | 1394 KiB | 7 Q