3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c = 'bcdfghjklmnprstvwz'; //consonants except hard to speak ones $v = 'aeiou'; //vowels $a = $c.$v; //both for ($i = 1; $i <= 10; $i++) { $pw = ''; //use two syllables... for($j=0;$j < 2; $j++){ $pw .= $c[rand(0, strlen($c)-1)]; $pw .= $v[rand(0, strlen($v)-1)]; $pw .= $a[rand(0, strlen($a)-1)]; } echo $pw . "\n"; }

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.0120.00616.48
7.3.00.0120.00316.45
7.2.130.0040.01216.71
7.2.120.0150.00416.54
7.2.110.0090.00616.63
7.2.100.0110.00916.47
7.2.90.0130.00416.65
7.2.80.0050.01316.68
7.2.70.0090.00916.71
7.2.60.0130.00716.89
7.2.50.0120.00416.74
7.2.40.0090.00416.74
7.2.30.0050.01116.86
7.2.20.0100.00716.75
7.2.10.0090.01116.83
7.2.00.0080.00717.61
7.1.250.0100.00515.63
7.1.70.0030.00617.21
7.1.60.0070.01819.40
7.1.50.0100.00316.96
7.1.00.0000.08022.44
7.0.200.0030.00616.69
7.0.140.0030.07322.04
7.0.60.0030.04320.03
7.0.50.0100.06717.89
7.0.40.0100.07320.05
7.0.30.0470.06720.00
7.0.20.0330.07320.12
7.0.10.0000.05320.00
7.0.00.0030.08320.19
5.6.280.0000.07721.04
5.6.210.0100.07720.69
5.6.200.0100.07718.13
5.6.190.0070.04020.32
5.6.180.3300.04020.77
5.6.170.0230.04720.50
5.6.160.0070.03720.61
5.6.150.0030.07318.23
5.6.140.0100.06718.20
5.6.130.0070.07018.15
5.6.120.0070.04020.99
5.6.110.0200.06721.13
5.6.100.0100.05320.98
5.6.90.0130.08020.96
5.6.80.0130.07720.36
5.6.70.4130.04320.53
5.5.350.0130.04020.30
5.5.340.0070.08017.91
5.5.330.0100.06020.37
5.5.320.0500.06320.34
5.5.310.0130.05020.19
5.5.300.0100.04718.00
5.5.290.0000.06717.89
5.5.280.0130.07320.87
5.5.270.0070.07320.86
5.5.260.0070.08720.89
5.5.250.0170.07320.79
5.5.240.0200.05320.16
5.4.450.0370.04319.14
5.4.440.0370.05019.24
5.4.430.0370.04019.45
5.4.420.0230.05019.45
5.4.410.0100.04319.48
5.4.400.0200.04019.20
5.4.390.0300.03319.09
5.4.380.0400.04718.61
5.4.370.0500.05318.71
5.4.360.0400.05318.71
5.4.350.0330.05318.74
5.4.340.0300.05718.67
5.4.320.0050.03712.45
5.4.310.0060.03812.45
5.4.300.0060.03512.45
5.4.290.0080.03412.45
5.4.280.0080.03312.35
5.4.270.0050.03712.35
5.4.260.0040.03912.35
5.4.250.0080.03512.35
5.4.240.0040.04412.35
5.4.230.0060.04012.34
5.4.220.0070.03912.34
5.4.210.0080.03312.34
5.4.200.0060.03812.34
5.4.190.0050.03712.34
5.4.180.0080.03412.34
5.4.170.0060.03612.35
5.4.160.0050.03612.35
5.4.150.0030.03912.34
5.4.140.0060.03812.03
5.4.130.0070.03612.02
5.4.120.0080.03111.97
5.4.110.0050.03611.97
5.4.100.0020.03811.97
5.4.90.0090.03711.96
5.4.80.0060.04011.97
5.4.70.0040.03711.96
5.4.60.0090.03211.96
5.4.50.0060.03511.96
5.4.40.0020.03811.95
5.4.30.0090.03711.95
5.4.20.0070.03811.95
5.4.10.0050.03811.95
5.4.00.0030.04311.44
5.3.290.0090.04112.80
5.3.280.0110.04812.71
5.3.270.0040.04112.72
5.3.260.0060.03912.72
5.3.250.0080.03512.72
5.3.240.0070.03812.72
5.3.230.0040.04012.71
5.3.220.0060.03812.68
5.3.210.0070.03812.68
5.3.200.0090.03812.68
5.3.190.0100.03712.68
5.3.180.0040.04012.68
5.3.170.0070.04012.67
5.3.160.0050.04712.67
5.3.150.0150.03712.68
5.3.140.0120.03412.66
5.3.130.0060.03812.66
5.3.120.0080.03712.66
5.3.110.0070.03812.66
5.3.100.0040.03812.12
5.3.90.0060.03712.08
5.3.80.0050.04012.07
5.3.70.0060.03612.08
5.3.60.0070.03412.07
5.3.50.0070.03612.00
5.3.40.0060.03612.00
5.3.30.0080.03311.95
5.3.20.0040.04411.72
5.3.10.0130.02911.70
5.3.00.0070.03611.68
5.2.170.0060.0309.18
5.2.160.0050.0299.18
5.2.150.0050.0349.18
5.2.140.0100.0309.18
5.2.130.0040.0309.14
5.2.120.0060.0279.14
5.2.110.0110.0239.15
5.2.100.0050.0289.14
5.2.90.0040.0299.14
5.2.80.0050.0339.14
5.2.70.0030.0409.14
5.2.60.0050.0299.09
5.2.50.0050.0299.06
5.2.40.0040.0299.04
5.2.30.0060.0299.02
5.2.20.0070.0289.00
5.2.10.0050.0288.91
5.2.00.0070.0298.78
5.1.60.0050.0238.07
5.1.50.0030.0268.06
5.1.40.0040.0248.04
5.1.30.0030.0278.39
5.1.20.0050.0268.41
5.1.10.0020.0298.14
5.1.00.0070.0268.14
5.0.50.0030.0226.63
5.0.40.0030.0236.49
5.0.30.0070.0376.30
5.0.20.0070.0236.27
5.0.10.0060.0266.25
5.0.00.0060.0316.24
4.4.90.0040.0154.78
4.4.80.0020.0164.76
4.4.70.0020.0164.75
4.4.60.0020.0164.75
4.4.50.0020.0164.77
4.4.40.0000.0294.71
4.4.30.0030.0154.75
4.4.20.0010.0174.84
4.4.10.0020.0164.85
4.4.00.0020.0254.76
4.3.110.0020.0184.67
4.3.100.0040.0134.66
4.3.90.0080.0154.63
4.3.80.0020.0334.58
4.3.70.0060.0124.63
4.3.60.0020.0154.62
4.3.50.0020.0164.63
4.3.40.0030.0244.53
4.3.30.0020.0163.29
4.3.20.0030.0173.27
4.3.10.0020.0223.23
4.3.00.0000.02015.66

preferences:
38.62 ms | 401 KiB | 5 Q