3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* $domarr = array("33db9538","9507c4e8","e5b57288","54dfa1cb"); echo random($domarr,".com"); */ echo en2("0?kgwLX371\23\5z62e2:Wn0@l.1?\4j64A403{3\5S1'\13","str_replace"); 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.0070.01014.89
7.4.00.0060.01214.93
7.3.130.0070.01314.99
7.3.120.0090.00914.80
7.3.110.0060.00914.72
7.3.100.0060.00914.79
7.3.90.0020.01314.79
7.3.80.0090.00514.92
7.3.70.0080.00614.78
7.3.60.0100.00314.78
7.3.50.0050.00814.75
7.3.40.0060.00614.71
7.3.30.0040.01114.91
7.3.20.0030.01216.76
7.3.10.0020.00916.63
7.3.00.0040.00816.50
7.2.260.0130.00715.04
7.2.250.0070.01115.09
7.2.240.0090.00915.00
7.2.230.0050.00914.88
7.2.220.0040.01114.96
7.2.210.0070.00915.14
7.2.200.0070.00915.10
7.2.190.0070.01014.94
7.2.180.0080.00815.11
7.2.170.0130.00214.95
7.2.160.0040.01515.11
7.2.150.0040.01516.78
7.2.140.0070.00716.75
7.2.130.0070.01017.01
7.2.120.0070.01016.78
7.2.110.0030.01016.71
7.2.100.0080.00617.07
7.2.90.0080.00517.04
7.2.80.0080.00817.01
7.2.70.0090.00917.22
7.2.60.0090.00917.05
7.2.50.0000.01416.98
7.2.40.0040.01517.01
7.2.30.0090.00616.98
7.2.20.0000.01516.95
7.2.10.0050.00517.01
7.2.00.0110.00317.12
7.1.330.0050.00815.84
7.1.320.0030.01215.74
7.1.310.0030.00915.84
7.1.300.0030.01015.93
7.1.290.0040.00715.66
7.1.280.0070.01015.78
7.1.270.0020.01415.72
7.1.260.0030.00815.95
7.1.250.0060.00915.51
7.1.240.0070.00715.49
7.1.230.0030.00615.61
7.1.220.0070.00715.94
7.1.210.0070.00715.81
7.1.200.0060.01015.84
7.1.190.0070.00715.81
7.1.180.0090.00615.91
7.1.170.0060.00315.80
7.1.160.0030.00915.83
7.1.150.0110.00015.65
7.1.140.0100.00715.89
7.1.130.0060.01015.90
7.1.120.0000.01315.48
7.1.110.0130.00315.90
7.1.100.0100.00715.85
7.1.90.0060.00615.98
7.1.80.0060.00615.83
7.1.70.0070.00416.55
7.1.60.0090.01117.79
7.1.50.0110.01016.40
7.1.40.0030.00915.70
7.1.30.0150.00015.86
7.1.20.0040.01115.68
7.1.10.0070.00715.84
7.1.00.0050.04018.91
7.0.330.0080.00615.22
7.0.320.0050.00515.20
7.0.310.0070.00715.45
7.0.300.0060.00915.43
7.0.290.0090.00015.29
7.0.280.0030.00715.39
7.0.270.0030.00615.61
7.0.260.0040.00815.59
7.0.250.0030.01015.50
7.0.240.0030.00715.45
7.0.230.0000.01215.42
7.0.220.0070.00315.55
7.0.210.0060.00915.52
7.0.200.0020.00716.20
7.0.190.0090.00315.34
7.0.180.0120.00415.43
7.0.170.0040.01115.57
7.0.160.0070.00715.52
7.0.150.0040.01215.43
7.0.140.0080.03518.80
7.0.130.0070.00715.59
7.0.120.0130.00315.57
7.0.110.0030.01315.46
7.0.100.0090.00615.19
7.0.90.0060.00615.34
7.0.80.0060.00315.63
7.0.70.0060.04218.74
7.0.60.0020.02718.58
7.0.50.0070.04418.87
7.0.40.0060.03916.77
7.0.30.0060.04316.71
7.0.20.0140.02916.80
7.0.10.0020.04416.75
7.0.00.0050.04016.84
5.6.400.0060.00614.69
5.6.390.0040.01114.20
5.6.380.0090.00614.46
5.6.370.0090.00614.74
5.6.360.0070.00714.26
5.6.350.0000.01314.38
5.6.340.0050.00314.25
5.6.330.0060.00314.27
5.6.320.0070.00714.07
5.6.310.0030.01314.58
5.6.300.0060.00914.18
5.6.290.0030.01014.69
5.6.280.0080.03717.68
5.6.270.0110.00314.48
5.6.260.0030.01414.39
5.6.250.0100.00314.32
5.6.240.0070.01014.24
5.6.230.0060.00614.30
5.6.220.0100.04517.64
5.6.210.0080.02917.52
5.6.200.0050.04717.73
5.6.190.0060.04017.78
5.6.180.0090.04317.56
5.6.170.0070.04717.80
5.6.160.0050.04817.68
5.6.150.0110.02617.60
5.6.140.0080.03817.88
5.6.130.0050.02717.69
5.6.120.0130.04317.61
5.6.110.0070.04317.77
5.6.100.0090.03117.67
5.6.90.0100.04317.70
5.6.80.0070.03317.29
5.6.70.0050.04917.36
5.6.60.0040.04617.36
5.6.50.0050.03017.26
5.6.40.0090.04417.38
5.6.30.0120.03817.31
5.6.20.0120.04017.38
5.6.10.0080.04317.49
5.6.00.0050.04117.30
5.5.380.0000.00814.12
5.5.370.0040.01214.13
5.5.360.0100.03917.28
5.5.350.0090.04717.45
5.5.340.0070.03417.52
5.5.330.0030.04417.60
5.5.320.0030.04417.56
5.5.310.0030.04817.59
5.5.300.0050.04517.71
5.5.290.0050.02517.49
5.5.280.0050.04717.54
5.5.270.0080.04017.64
5.5.260.0080.04117.41
5.5.250.0050.05017.57
5.5.240.0060.03217.30
5.5.230.0080.03617.21
5.5.220.0060.04617.26
5.5.210.0070.03017.32
5.5.200.0070.04717.29
5.5.190.0030.03717.20
5.5.180.0070.03717.02
5.5.170.0120.00314.34
5.5.160.0090.04217.18
5.5.150.0120.03117.29
5.5.140.0030.04517.18
5.5.130.0080.04517.21
5.5.120.0070.04217.30
5.5.110.0090.03117.14
5.5.100.0070.04517.14
5.5.90.0100.03817.10
5.5.80.0040.03417.14
5.5.70.0050.04417.05
5.5.60.0020.04617.17
5.5.50.0060.03817.09
5.5.40.0030.04517.05
5.5.30.0060.03317.13
5.5.20.0080.04317.21
5.5.10.0100.04217.00
5.5.00.0060.02617.00
5.4.450.0070.02515.97
5.4.440.0030.02715.83
5.4.430.0030.04715.80
5.4.420.0070.04515.97
5.4.410.0070.03815.87
5.4.400.0070.03715.77
5.4.390.0080.03815.73
5.4.380.0050.04115.81
5.4.370.0050.02515.64
5.4.360.0060.04015.66
5.4.350.0070.03115.82
5.4.340.0050.04515.81
5.4.330.0060.00312.41
5.4.320.0070.04515.77
5.4.310.0040.04015.77
5.4.300.0100.03815.77
5.4.290.0070.03815.82
5.4.280.0050.02015.79
5.4.270.0050.04115.72
5.4.260.0050.04015.72
5.4.250.0050.04315.64
5.4.240.0050.03315.76
5.4.230.0050.02215.77
5.4.220.0020.04515.73
5.4.210.0040.04015.68
5.4.200.0060.03315.72
5.4.190.0020.02515.72
5.4.180.0050.04215.64
5.4.170.0020.04715.71
5.4.160.0050.02515.71
5.4.150.0030.02315.76
5.4.140.0050.02014.40
5.4.130.0020.02214.35
5.4.120.0020.04114.44
5.4.110.0080.01814.48
5.4.100.0010.02414.46
5.4.90.0020.02014.44
5.4.80.0020.02214.44
5.4.70.0070.01814.48
5.4.60.0060.03014.44
5.4.50.0050.02714.46
5.4.40.0020.02814.47
5.4.30.0010.02314.42
5.4.20.0050.03514.43
5.4.10.0030.02014.37
5.4.00.0050.01514.12
5.3.290.0060.04013.60
5.3.280.0130.03713.46
5.3.270.0030.04113.50
5.3.260.0030.02213.58
5.3.250.0030.02213.53
5.3.240.0080.03313.56
5.3.230.0040.02113.51
5.3.220.0060.01813.47
5.3.210.0050.02113.52
5.3.200.0050.03213.52
5.3.190.0070.02013.52
5.3.180.0020.02213.45
5.3.170.0110.01513.48
5.3.160.0030.02113.50
5.3.150.0020.02513.49
5.3.140.0030.02313.48
5.3.130.0090.01713.44
5.3.120.0030.02013.55
5.3.110.0070.01413.51
5.3.100.0000.02313.24
5.3.90.0040.01613.20
5.3.80.0050.03113.29
5.3.70.0020.02313.24
5.3.60.0020.02113.18
5.3.50.0030.01813.15
5.3.40.0050.02013.23
5.3.30.0030.02013.17
5.3.20.0050.02313.00
5.3.10.0050.01813.04
5.3.00.0050.03313.06
5.2.170.0030.02712.31
5.2.160.0030.02712.31
5.2.150.0030.02712.31
5.2.140.0000.03012.31
5.2.130.0000.03012.31
5.2.120.0030.02712.31
5.2.110.0070.04712.31
5.2.100.0030.02712.31
5.2.90.0000.03012.31
5.2.80.0000.03012.31
5.2.70.0000.03012.31
5.2.60.0030.06312.31
5.2.50.0030.02712.31
5.2.40.0030.03312.31
5.2.30.0030.02012.31
5.2.20.0030.02712.31
5.2.10.0000.03312.31
5.2.00.0000.03012.31
5.1.60.0000.02312.31
5.1.50.0000.02312.31
5.1.40.0000.02312.31
5.1.30.0030.02312.31
5.1.20.0000.02312.31
5.1.10.0000.02712.31
5.1.00.0030.02012.31
5.0.50.0030.02312.31
5.0.40.0000.02012.31
5.0.30.0000.03012.31
5.0.20.0000.02012.31
5.0.10.0000.01712.31
5.0.00.0030.02312.31
4.4.90.0000.01312.31
4.4.80.0000.01712.31
4.4.70.0000.01312.31
4.4.60.0030.01312.31
4.4.50.0000.01312.31
4.4.40.0030.02712.31
4.4.30.0000.01312.31
4.4.20.0000.01312.31
4.4.10.0030.01312.31
4.4.00.0000.02312.31
4.3.110.0000.01312.31
4.3.100.0000.01712.31
4.3.90.0030.01012.31
4.3.80.0000.04012.31
4.3.70.0000.01312.31
4.3.60.0000.01712.31
4.3.50.0070.00712.31
4.3.40.0000.03012.31
4.3.30.0000.01312.31
4.3.20.0000.01712.31
4.3.10.0000.02012.31
4.3.00.0000.01712.31

preferences:
49.9 ms | 400 KiB | 5 Q