3v4l.org

run code in 300+ PHP versions simultaneously
<?php function decrypt($a) { $a1 = strtolower(strrev($a)); $a2 = hexdec(substr($a1,0, 4)) ^ hexdec('BFF') ^ hexdec('D77D'); $a3 = substr($a2,4); $a4 = ""; $a5 = 0; for($a5=0;$a5<strlen($a3);$a5+=6){ $a6 = ++$a; } $mul=$a6 * $a6; $a7=$mul ^ $hexdec('6E'); $ans = octdec(hexdec(substr($a3,0,6))) ^ hexdec('AFE43') ^ hexdec('399AA3') ^ $a7 ^ octdec(hexdec(substr($a3,0,6))); return $a4 . chr($ans); } echo decrypt('pass'); define('__FLAG__', 'flag{hidden_flag}'); if(decrypt('pass') == 'pwning_the_phpreverse!') { __FLAG__; } ?>

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.0150.00018.68
8.3.50.0120.00316.34
8.3.40.0090.01218.60
8.3.30.0120.00318.97
8.3.20.0040.00419.28
8.3.10.0070.00021.63
8.3.00.0030.00519.66
8.2.180.0110.00718.41
8.2.170.0070.00722.96
8.2.160.0130.00320.57
8.2.150.0000.00825.66
8.2.140.0040.00424.66
8.2.130.0040.00422.25
8.2.120.0020.00526.35
8.2.110.0030.00620.52
8.2.100.0120.00017.84
8.2.90.0000.00819.14
8.2.80.0050.00317.97
8.2.70.0000.00817.63
8.2.60.0050.00318.05
8.2.50.0080.00018.10
8.2.40.0080.00020.45
8.2.30.0040.00419.21
8.2.20.0070.00018.12
8.2.10.0040.00418.14
8.2.00.0040.00418.02
8.1.270.0080.00022.20
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00023.86
8.1.230.0080.00323.93
8.1.220.0090.00017.74
8.1.210.0080.00018.77
8.1.200.0090.00017.48
8.1.190.0030.00517.23
8.1.180.0030.00618.10
8.1.170.0040.00418.51
8.1.160.0000.00719.02
8.1.150.0030.00620.66
8.1.140.0000.01019.51
8.1.130.0080.00018.87
8.1.120.0000.00817.34
8.1.110.0040.00417.36
8.1.100.0060.00317.40
8.1.90.0040.00417.43
8.1.80.0090.00017.29
8.1.70.0000.00717.27
8.1.60.0090.00017.51
8.1.50.0030.00617.43
8.1.40.0100.00017.45
8.1.30.0000.00717.60
8.1.20.0080.00417.61
8.1.10.0000.00817.65
8.1.00.0000.00717.50
8.0.300.0030.00618.77
8.0.290.0030.00516.88
8.0.280.0030.00318.49
8.0.270.0040.00317.32
8.0.260.0000.00716.89
8.0.250.0000.00716.95
8.0.240.0030.00616.93
8.0.230.0040.00317.05
8.0.220.0000.00716.82
8.0.210.0030.00616.80
8.0.200.0000.00616.95
8.0.190.0060.00316.97
8.0.180.0000.00816.84
8.0.170.0000.00816.96
8.0.160.0070.00016.93
8.0.150.0030.00316.91
8.0.140.0000.00716.74
8.0.130.0000.00513.38
8.0.120.0000.00816.77
8.0.110.0000.00816.90
8.0.100.0080.00016.87
8.0.90.0050.00316.69
8.0.80.0000.02016.83
8.0.70.0080.00016.81
8.0.60.0050.00316.91
8.0.50.0050.00316.74
8.0.30.0020.01517.13
8.0.20.0100.00917.40
8.0.10.0040.00416.92
8.0.00.0100.00716.67
7.4.330.0000.00415.55
7.4.320.0050.00216.54
7.4.300.0000.00616.43
7.4.290.0030.00616.60
7.4.280.0040.00416.40
7.4.270.0000.00716.55
7.4.260.0050.00013.27
7.4.250.0040.00416.48
7.4.240.0070.00016.53
7.4.230.0040.00416.46
7.4.220.0040.01516.53
7.4.210.0050.00816.55
7.4.200.0050.00316.66
7.4.160.0090.00716.59
7.4.150.0180.00017.40
7.4.140.0130.00817.86
7.4.130.0110.00616.53
7.4.120.0110.00916.61
7.4.110.0130.00916.41
7.4.100.0060.01216.43
7.4.90.0130.00316.50
7.4.80.0000.01719.39
7.4.70.0060.01216.73
7.4.60.0100.00716.43
7.4.50.0130.00316.37
7.4.40.0100.00616.57
7.4.30.0110.00516.53
7.4.00.0090.00615.07
7.3.330.0000.00713.49
7.3.320.0050.00013.43
7.3.310.0000.00716.34
7.3.300.0000.00716.44
7.3.290.0070.00016.45
7.3.280.0070.00916.43
7.3.270.0070.01017.40
7.3.260.0080.01016.72
7.3.250.0170.00216.51
7.3.240.0100.01016.54
7.3.230.0110.00616.58
7.3.210.0030.01316.65
7.3.200.0090.00916.57
7.3.190.0150.00416.41
7.3.180.0120.00316.36
7.3.170.0100.00716.34
7.3.160.0110.00516.55
7.3.120.0090.00914.84
7.3.110.0040.01414.64
7.3.100.0100.00714.94
7.3.90.0030.01014.90
7.3.80.0040.01115.02
7.3.70.0030.00714.53
7.3.60.0040.01114.88
7.3.50.0040.01214.94
7.3.40.0060.00614.63
7.3.30.0080.00615.01
7.3.20.0040.00416.76
7.3.10.0100.00316.88
7.3.00.0080.00316.72
7.2.330.0070.01116.48
7.2.320.0070.01016.88
7.2.310.0070.01016.67
7.2.300.0110.01016.51
7.2.290.0120.00816.66
7.2.250.0100.00714.89
7.2.240.0040.01514.94
7.2.230.0110.00415.25
7.2.220.0080.01215.18
7.2.210.0090.00615.38
7.2.200.0040.00815.07
7.2.190.0060.01215.11
7.2.180.0120.00415.16
7.2.170.0060.00315.14
7.2.160.0040.00715.24
7.2.150.0060.01016.89
7.2.140.0090.00616.92
7.2.130.0050.00517.05
7.2.120.0060.00816.78
7.2.110.0060.00916.99
7.2.100.0090.00017.06
7.2.90.0100.00616.98
7.2.80.0070.00416.81
7.2.70.0070.00716.85
7.2.60.0080.00816.82
7.2.50.0070.00717.06
7.2.40.0060.00916.86
7.2.30.0040.00816.84
7.2.20.0030.01316.75
7.2.10.0000.01216.84
7.2.00.0040.01018.08
7.1.330.0030.00715.76
7.1.320.0120.00615.61
7.1.310.0070.00715.67
7.1.300.0080.00815.75
7.1.290.0030.00915.79
7.1.280.0070.00715.55
7.1.270.0040.00715.90
7.1.260.0070.00715.46
7.1.250.0070.00615.76
7.1.240.0000.01515.86
7.1.230.0040.01215.66
7.1.220.0080.00815.91
7.1.210.0080.00415.88
7.1.200.0070.00515.96
7.1.190.0040.01115.95
7.1.180.0080.00615.77
7.1.170.0080.00415.80
7.1.160.0000.01615.92
7.1.150.0000.01115.95
7.1.140.0060.00615.71
7.1.130.0100.00315.72
7.1.120.0120.00015.71
7.1.110.0060.01315.96
7.1.100.0020.01316.96
7.1.90.0100.00315.96
7.1.80.0090.00615.69
7.1.70.0030.00516.42
7.1.60.0690.01024.68
7.1.50.0980.00724.42
7.1.40.1150.00824.08
7.1.30.1340.00824.31
7.1.20.1770.01224.36
7.1.10.0380.01015.27
7.1.00.1230.00715.29
7.0.330.0030.01015.41
7.0.320.0040.00415.47
7.0.310.0030.00615.54
7.0.300.0030.01315.43
7.0.290.0000.00815.39
7.0.280.0070.00715.35
7.0.270.0080.00015.46
7.0.260.0000.01215.45
7.0.250.0110.00315.28
7.0.240.0030.01015.58
7.0.230.0050.00515.64
7.0.220.0130.00015.24
7.0.210.0030.01015.32
7.0.200.1040.00315.33
7.0.190.0880.00715.21
7.0.180.1330.01415.03
7.0.170.1640.00114.85
7.0.160.1410.01015.06
7.0.150.1750.00814.98
7.0.140.2220.01315.03
7.0.130.1480.01015.04
7.0.120.0980.01215.10
7.0.110.1030.01015.05
7.0.100.1220.01014.88
7.0.90.1480.01014.97
7.0.80.1240.00414.77
7.0.70.1540.00915.01
7.0.60.1630.00514.87
7.0.50.1470.01214.96
7.0.40.1420.00714.06
7.0.30.1350.00614.02
7.0.20.1590.00813.99
7.0.10.1060.00813.92
7.0.00.0950.00713.99
5.6.400.0060.00914.27
5.6.390.0130.00014.46
5.6.380.0070.00714.80
5.6.370.0030.00714.18
5.6.360.0070.01014.41
5.6.350.0070.01014.04
5.6.340.0030.01014.70
5.6.330.0000.01513.89
5.6.320.0070.00714.32
5.6.310.0030.00913.88
5.6.300.0050.00514.48
5.6.290.0070.00314.60
5.6.280.0060.00914.62
5.6.270.0070.00714.14
5.6.260.0090.00614.55
5.6.250.0060.00614.28
5.6.240.0060.00914.56
5.6.230.0120.00314.29
5.6.220.0070.00714.31
5.6.210.0000.01114.60
5.6.200.0090.00314.36
5.6.190.0040.01214.52
5.6.180.0000.01014.38
5.6.170.0030.01014.49
5.6.160.0000.00914.48
5.6.150.0070.00614.19
5.6.140.0030.00714.50
5.6.130.0030.01314.46
5.6.120.0000.01314.45
5.6.110.0060.00614.29
5.6.100.0080.00814.34
5.6.90.0070.00314.53
5.6.80.0130.00014.12
5.6.70.0100.00714.20
5.6.60.0080.00614.03
5.6.50.0060.00614.34
5.6.40.0000.01314.14
5.6.30.0060.00614.18
5.6.20.0030.01014.08
5.6.10.0050.00514.26
5.6.00.0060.00914.54

preferences:
43.23 ms | 400 KiB | 5 Q