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); } define('__FLAG__', 'flag{hidden_flag}'); if(decrypt($_REQUEST['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.0090.01218.27
8.3.50.0040.01116.50
8.3.40.0060.01218.66
8.3.30.0090.00618.88
8.3.20.0080.00019.29
8.3.10.0070.00021.76
8.3.00.0080.00019.66
8.2.180.0130.00618.54
8.2.170.0130.00722.96
8.2.160.0050.00920.38
8.2.150.0030.00525.66
8.2.140.0080.00024.66
8.2.130.0040.00420.47
8.2.120.0080.00026.35
8.2.110.0070.00319.27
8.2.100.0000.01117.82
8.2.90.0000.00819.34
8.2.80.0060.00317.97
8.2.70.0000.00817.63
8.2.60.0030.00618.03
8.2.50.0050.00318.10
8.2.40.0040.00422.18
8.2.30.0040.00419.36
8.2.20.0040.00418.18
8.2.10.0040.00418.01
8.2.00.0040.00418.12
8.1.280.0070.01025.92
8.1.270.0000.00722.06
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00721.43
8.1.230.0070.00417.57
8.1.220.0040.00417.76
8.1.210.0000.00818.77
8.1.200.0040.00417.35
8.1.190.0060.00317.35
8.1.180.0080.00018.10
8.1.170.0030.00518.71
8.1.160.0030.00518.99
8.1.150.0090.00020.66
8.1.140.0040.00719.62
8.1.130.0070.00018.95
8.1.120.0070.00017.52
8.1.110.0080.00017.49
8.1.100.0030.00517.36
8.1.90.0030.00517.50
8.1.80.0030.00617.47
8.1.70.0040.00417.45
8.1.60.0050.00317.61
8.1.50.0050.00317.52
8.1.40.0030.00817.41
8.1.30.0060.00317.64
8.1.20.0030.00917.66
8.1.10.0030.00617.58
8.1.00.0000.00717.41
8.0.300.0070.00018.77
8.0.290.0000.00716.75
8.0.280.0000.00818.34
8.0.270.0070.00017.29
8.0.260.0000.00616.82
8.0.250.0030.00317.08
8.0.240.0000.00817.02
8.0.230.0050.00216.89
8.0.220.0040.00416.82
8.0.210.0000.00916.97
8.0.200.0000.00617.03
8.0.190.0070.00016.92
8.0.180.0040.00417.05
8.0.170.0000.00816.89
8.0.160.0040.00417.00
8.0.150.0030.00316.81
8.0.140.0050.00316.89
8.0.130.0050.00013.41
8.0.120.0050.00316.86
8.0.110.0040.00416.98
8.0.100.0080.00016.87
8.0.90.0030.00616.97
8.0.80.0130.01016.89
8.0.70.0000.00717.00
8.0.60.0040.00417.04
8.0.50.0030.00316.86
8.0.30.0110.00817.05
8.0.20.0110.01017.40
8.0.10.0050.00216.94
8.0.00.0060.01616.96
7.4.330.0050.00015.55
7.4.320.0060.00016.43
7.4.300.0030.00316.51
7.4.290.0000.01116.57
7.4.280.0030.00616.51
7.4.270.0070.00016.59
7.4.260.0060.00013.23
7.4.250.0080.00016.49
7.4.240.0000.00716.54
7.4.230.0030.00316.69
7.4.220.0060.01216.65
7.4.210.0080.00616.51
7.4.200.0070.00016.41
7.4.160.0100.00916.70
7.4.150.0160.00317.40
7.4.140.0120.00817.86
7.4.130.0150.00416.38
7.4.120.0070.01116.54
7.4.110.0000.01716.65
7.4.100.0160.00416.50
7.4.90.0130.00516.53
7.4.80.0100.00719.39
7.4.70.0100.00716.60
7.4.60.0080.00816.64
7.4.50.0070.00716.61
7.4.40.0100.00616.59
7.4.30.0110.00616.25
7.4.10.0030.01615.07
7.4.00.0060.01015.07
7.3.330.0000.00613.37
7.3.320.0030.00313.31
7.3.310.0040.00416.26
7.3.300.0000.00716.45
7.3.290.0060.00816.42
7.3.280.0070.01016.44
7.3.270.0060.01117.40
7.3.260.0090.01116.68
7.3.250.0110.00716.47
7.3.240.0100.00716.43
7.3.230.0110.00716.55
7.3.210.0100.00716.38
7.3.200.0000.00016.59
7.3.190.0090.00916.53
7.3.180.0180.00316.38
7.3.170.0120.00616.44
7.3.160.0030.01316.50
7.3.130.0100.00714.88
7.3.120.0050.01214.93
7.3.110.0090.01014.83
7.3.100.0060.00814.77
7.3.90.0050.00914.99
7.3.80.0080.00914.74
7.3.70.0110.00314.81
7.3.60.0070.00914.99
7.3.50.0050.00714.92
7.3.40.0030.01214.78
7.3.30.0070.00614.87
7.3.20.0070.00716.76
7.3.10.0050.01016.65
7.3.00.0070.00616.78
7.2.330.0120.00716.74
7.2.320.0090.01016.45
7.2.310.0060.01016.77
7.2.300.0120.00416.54
7.2.290.0070.01016.62
7.2.260.0040.01415.00
7.2.250.0120.00515.22
7.2.240.0080.00615.14
7.2.230.0070.01015.02
7.2.220.0070.01015.21
7.2.210.0080.00515.14
7.2.200.0030.01114.97
7.2.190.0090.00715.13
7.2.180.0030.01315.05
7.2.170.0090.00715.14
7.2.160.0050.00914.93
7.2.150.0090.00717.08
7.2.140.0080.00817.11
7.2.130.0080.00817.01
7.2.120.0100.00316.81
7.2.110.0040.00616.99
7.2.100.0030.01217.05
7.2.90.0040.01016.86
7.2.80.0110.00517.09
7.2.70.0090.00516.81
7.2.60.0060.00816.93
7.2.50.0060.00816.92
7.2.40.0080.00717.12
7.2.30.0070.00816.86
7.2.20.0070.01016.97
7.2.10.0030.00816.85
7.2.00.0060.00717.75
7.1.330.0030.01015.65
7.1.320.0100.00615.79
7.1.310.0020.01415.76
7.1.300.0030.01215.63
7.1.290.0080.00415.83
7.1.280.0070.00815.89
7.1.270.0060.00315.63
7.1.260.0020.00815.77
7.1.250.0060.00815.83
7.1.240.0050.00815.85
7.1.230.0100.00515.90
7.1.220.0050.00915.88
7.1.210.0020.01115.76
7.1.200.0050.00815.73
7.1.190.0040.00915.73
7.1.180.0030.01015.93
7.1.170.0050.01015.71
7.1.160.0050.00715.86
7.1.150.0070.00715.82
7.1.140.0020.01215.86
7.1.130.0030.00815.85
7.1.120.0050.01015.94
7.1.110.0090.00515.81
7.1.100.0020.01216.58
7.1.90.0050.01015.82
7.1.80.0080.00515.90
7.1.70.0090.00516.32
7.1.60.0590.01721.62
7.1.50.0680.00821.66
7.1.40.0610.01421.25
7.1.30.0560.01121.33
7.1.20.0500.00721.36
7.1.10.0370.00915.50
7.1.00.0680.00315.64
7.0.330.0040.00715.35
7.0.320.0040.00815.41
7.0.310.0010.01115.22
7.0.300.0070.00915.26
7.0.290.0090.00315.22
7.0.280.0060.00815.22
7.0.270.0030.00615.46
7.0.260.0070.00315.43
7.0.250.0050.00715.53
7.0.240.0010.00715.44
7.0.230.0040.00715.30
7.0.220.0030.00815.46
7.0.210.0030.00815.55
7.0.200.0560.00915.17
7.0.190.0570.00815.15
7.0.180.0500.00515.15
7.0.170.0400.00715.09
7.0.160.0490.00915.24
7.0.150.0270.01215.15
7.0.140.0420.01215.22
7.0.130.0590.01015.11
7.0.120.0850.00515.12
7.0.110.0530.00915.11
7.0.100.0550.01015.22
7.0.90.0570.00715.04
7.0.80.0490.00615.20
7.0.70.0510.00815.24
7.0.60.0510.01015.09
7.0.50.0410.00815.12
7.0.40.0430.00814.02
7.0.30.0520.00513.73
7.0.20.0460.00613.82
7.0.10.0510.01313.83
7.0.00.0560.00313.81
5.6.400.0070.00714.79
5.6.390.0100.00314.33
5.6.380.0020.01014.68
5.6.370.0020.01014.23
5.6.360.0070.00314.62
5.6.350.0070.00914.29
5.6.340.0080.00514.57
5.6.330.0060.00614.61
5.6.320.0050.00914.27
5.6.310.0050.00914.68
5.6.300.0030.00914.65
5.6.290.0090.00914.47
5.6.280.0050.00714.68
5.6.270.0120.00314.51
5.6.260.0060.00614.41
5.6.250.0080.00814.25
5.6.240.0050.00614.29
5.6.230.0040.01114.52
5.6.220.0050.01214.59
5.6.210.0060.00414.33
5.6.200.0030.01214.51
5.6.190.0100.00314.56
5.6.180.0060.00614.53
5.6.170.0050.00814.35
5.6.160.0050.00714.44
5.6.150.0020.01314.20
5.6.140.0060.01014.49
5.6.130.0040.00914.36
5.6.120.0080.00714.15
5.6.110.0090.00514.51
5.6.100.0040.01014.28
5.6.90.0050.00614.50
5.6.80.0120.00214.38
5.6.70.0070.00714.51
5.6.60.0060.00814.08
5.6.50.0040.01214.54
5.6.40.0020.01314.06
5.6.30.0060.00714.32
5.6.20.0070.00814.37
5.6.10.0060.00814.12
5.6.00.0060.00614.31

preferences:
48.02 ms | 401 KiB | 5 Q