3v4l.org

run code in 300+ PHP versions simultaneously
<?php function encrypt($str, $key) { $iv = substr(md5("stoppay",true), 0, 8); return base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_128, $key, $str, MCRYPT_MODE_CBC, $iv)); } function decrypt($str, $key) { $iv = substr(md5("stoppay",true), 0, 8); return base64_decode(mcrypt_decrypt(MCRYPT_RIJNDAEL_128, $key, $str, MCRYPT_MODE_CBC, $iv)); } $chave = "80ab0e26de70872c65830a2efedabad3"; $texto = "ForBrazil Ends"; echo encrypt($texto,$chave); /* $Validation = "4/lOF/4ZMmdPxlFjZD63nA=="; $key = "e79c4da4f94b86cba5a81ba39fed083dbaf8bce"; $key = "80ab0e26de70872c65830a2efedabad3"; $msg = $text['felicitation'].decrypt(base64_decode($Validation),base64_encode($key)); echo "Le flag est: ".$msg; */ ?>

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.0070.00716.63
8.3.50.0140.00722.05
8.3.40.0090.00618.79
8.3.30.0120.00318.84
8.3.20.0040.00420.38
8.3.10.0000.00821.71
8.3.00.0080.00019.68
8.2.180.0040.01216.63
8.2.170.0150.00022.96
8.2.160.0070.00720.16
8.2.150.0050.00324.18
8.2.140.0050.00224.66
8.2.130.0040.00426.16
8.2.120.0030.00521.00
8.2.110.0030.00622.09
8.2.100.0130.00017.75
8.2.90.0060.00618.71
8.2.80.0000.00817.97
8.2.70.0030.00517.63
8.2.60.0050.00317.80
8.2.50.0000.00818.07
8.2.40.0040.00419.35
8.2.30.0030.00519.77
8.2.20.0040.00417.74
8.2.10.0040.00418.05
8.2.00.0000.00717.93
8.1.280.0100.01025.92
8.1.270.0030.00520.27
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0040.00722.33
8.1.230.0030.00717.42
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0030.00617.23
8.1.180.0060.00318.10
8.1.170.0030.00618.50
8.1.160.0040.00422.00
8.1.150.0000.00818.78
8.1.140.0030.00517.40
8.1.130.0070.00017.59
8.1.120.0070.00017.38
8.1.110.0040.00417.29
8.1.100.0000.00917.39
8.1.90.0070.00017.37
8.1.80.0030.00517.44
8.1.70.0000.00717.36
8.1.60.0000.00717.62
8.1.50.0090.00017.43
8.1.40.0040.00417.47
8.1.30.0000.00817.60
8.1.20.0070.00017.54
8.1.10.0030.00617.46
8.1.00.0000.00817.40
8.0.300.0070.00018.77
8.0.290.0070.00016.75
8.0.280.0030.00318.44
8.0.270.0030.00317.20
8.0.260.0030.00317.10
8.0.250.0040.00416.85
8.0.240.0030.00516.92
8.0.230.0080.00016.95
8.0.220.0000.00716.76
8.0.210.0030.00316.96
8.0.200.0000.00616.81
8.0.190.0070.00017.00
8.0.180.0000.00816.79
8.0.170.0040.00416.81
8.0.160.0080.00016.96
8.0.150.0050.00316.79
8.0.140.0070.00016.77
8.0.130.0000.00713.25
8.0.120.0070.00016.86
8.0.110.0040.00416.83
8.0.100.0030.00516.92
8.0.90.0000.00717.01
8.0.80.0070.01116.82
8.0.70.0000.00816.71
8.0.60.0000.00716.78
8.0.50.0000.00716.81
8.0.30.0110.00716.99
8.0.20.0080.01117.40
8.0.10.0000.00716.88
8.0.00.0100.01016.84
7.4.330.0000.00815.08
7.4.320.0070.00016.54
7.4.300.0030.00316.59
7.4.290.0030.00316.68
7.4.280.0000.00716.64
7.4.270.0070.00016.43
7.4.260.0000.00716.50
7.4.250.0030.00316.56
7.4.240.0040.00416.55
7.4.230.0070.00016.70
7.4.220.0120.00916.63
7.4.210.0070.00716.58
7.4.200.0050.00216.60
7.4.160.0090.01516.48
7.4.150.0070.01117.40
7.4.140.0120.01017.86
7.4.130.0110.00716.63
7.4.120.0120.00716.52
7.4.110.0100.01716.54
7.4.100.0040.02216.49
7.4.90.0130.00316.44
7.4.80.0130.00319.39
7.4.70.0070.01016.33
7.4.60.0080.00816.48
7.4.50.0030.00516.23
7.4.40.0030.01316.49
7.4.30.0140.00616.60
7.4.00.0030.01015.15
7.3.330.0080.00013.16
7.3.320.0030.00313.33
7.3.310.0030.00316.26
7.3.300.0060.00016.26
7.3.290.0070.00916.26
7.3.280.0080.01116.25
7.3.270.0060.01217.40
7.3.260.0060.01216.39
7.3.250.0120.00516.39
7.3.240.0100.01016.46
7.3.230.0130.01016.57
7.3.210.0130.00316.23
7.3.200.0060.00916.44
7.3.190.0060.01016.24
7.3.180.0080.00816.34
7.3.170.0140.00716.34
7.3.160.0060.01116.37
7.3.120.0090.00614.69
7.3.110.0070.00714.95
7.3.100.0120.00314.97
7.3.90.0000.01114.98
7.3.80.0120.00314.79
7.3.70.0040.01114.84
7.3.60.0070.00714.90
7.3.50.0040.01114.72
7.3.40.0050.00514.32
7.3.30.0040.00714.83
7.3.20.0100.00716.49
7.3.10.0080.00316.45
7.3.00.0030.00916.53
7.2.330.0060.01216.38
7.2.320.0090.01216.35
7.2.310.0090.00616.40
7.2.300.0060.00916.43
7.2.290.0100.01316.37
7.2.240.0030.01315.22
7.2.230.0070.00714.89
7.2.220.0000.01515.09
7.2.210.0000.01414.96
7.2.200.0110.00315.00
7.2.190.0070.00714.68
7.2.180.0030.01014.82
7.2.170.0030.01015.12
7.2.160.0070.00714.98
7.2.150.0060.01016.61
7.2.140.0100.00316.65
7.2.130.0040.00716.76
7.2.120.0080.00416.82
7.2.110.0060.00516.79
7.2.100.0030.01016.79
7.2.90.0110.00516.77
7.2.80.0090.00516.75
7.2.70.0060.00916.79
7.2.60.0050.00816.95
7.2.50.0100.00316.88
7.2.40.0070.00516.65
7.2.30.0070.00716.96
7.2.20.0100.00516.77
7.2.10.0050.00816.73
7.2.00.0040.00916.90
7.1.330.0070.00715.46
7.1.320.0150.00015.71
7.1.310.0040.00715.79
7.1.300.0000.01015.75
7.1.290.0060.00615.68
7.1.280.0030.00615.59
7.1.270.0080.00815.72
7.1.260.0060.00915.64
7.1.250.0070.00615.78
7.1.200.0000.01015.84
7.1.70.0040.00416.86
7.1.60.0060.01920.03
7.1.50.0100.01316.97
7.1.00.0070.07322.40
7.0.200.0030.00716.67
7.0.60.0070.07319.93
7.0.50.0130.08017.94
7.0.40.0070.06720.28
7.0.30.0230.03320.32
7.0.20.0330.05720.06
7.0.10.0070.04720.27
7.0.00.0070.08720.14
5.6.280.0130.06020.93
5.6.210.0170.06020.75
5.6.200.0100.08018.21
5.6.190.0070.08020.45
5.6.180.0400.06720.57
5.6.170.0200.03720.54
5.6.160.0100.08320.50
5.6.150.0030.08718.22
5.6.140.0030.04018.21
5.6.130.0030.07718.13
5.6.120.0170.07321.14
5.6.110.0130.06721.02
5.6.100.0170.07021.02
5.6.90.0100.06721.00
5.6.80.0100.07720.53
5.5.350.0070.08020.53
5.5.340.0030.08018.07
5.5.330.0070.03720.57
5.5.320.1430.06720.39
5.5.310.0170.04320.36
5.5.300.0000.04318.00
5.5.290.0130.07317.99
5.5.280.0100.08720.88
5.5.270.0000.08320.66
5.5.260.0030.04020.77
5.5.250.0100.05720.87
5.5.240.0030.08320.33
5.4.450.0100.06019.43
5.4.440.0100.06019.18
5.4.430.0230.04719.31
5.4.420.0230.04719.54
5.4.410.0100.05719.25
5.4.400.0030.06019.22
5.4.390.0100.05719.13
5.4.380.0170.04718.99
5.4.370.0070.06019.25
5.4.360.0170.05719.22
5.4.350.0130.05018.98
5.4.340.0130.05018.82
5.4.320.0100.05719.02
5.4.310.0070.05719.28
5.4.300.0100.05018.84
5.4.290.0170.05019.02
5.4.280.0130.05319.03
5.4.270.0230.04019.28
5.4.260.0070.06018.98
5.4.250.0100.05719.13
5.4.240.0070.06718.84
5.4.230.0130.05719.27
5.4.220.0200.04718.84
5.4.210.0130.05319.25
5.4.200.0070.05318.81
5.4.190.0070.05319.09
5.4.180.0130.04719.00
5.4.170.0200.04319.01
5.4.160.0100.05319.23
5.4.150.0200.05318.97
5.4.140.0130.04716.59
5.4.130.0170.04716.39
5.4.120.0200.04716.32
5.4.110.0170.05016.59
5.4.100.0130.04716.34
5.4.90.0070.05016.47
5.4.80.0170.05316.61
5.4.70.0330.06016.60
5.4.60.0270.06716.66
5.4.50.0070.07016.48
5.4.40.0230.07316.57
5.4.30.0000.03316.32
5.4.20.0200.04016.51
5.4.10.0330.06716.53

preferences:
41.78 ms | 401 KiB | 5 Q