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_256, $key, $str, MCRYPT_MODE_CBC, $iv)); } function decrypt($str, $key) { $iv = substr(md5("stoppay",true), 0, 8); return base64_decode(mcrypt_decrypt(MCRYPT_RIJNDAEL_256, $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.70.0040.01118.31
8.3.60.0060.00916.88
8.3.50.0160.00421.20
8.3.40.0140.00718.68
8.3.30.0060.00918.81
8.3.20.0070.00020.29
8.3.10.0080.00021.77
8.3.00.0080.00019.79
8.2.190.0150.00716.75
8.2.180.0120.00316.88
8.2.170.0070.01022.96
8.2.160.0070.00720.36
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0030.00717.50
8.2.110.0060.00322.26
8.2.100.0090.00317.75
8.2.90.0060.00319.07
8.2.80.0040.00417.97
8.2.70.0080.00017.50
8.2.60.0040.00417.91
8.2.50.0000.00818.07
8.2.40.0000.00719.27
8.2.30.0080.00019.66
8.2.20.0050.00317.74
8.2.10.0040.00417.97
8.2.00.0020.00518.16
8.1.280.0070.01325.92
8.1.270.0030.00620.43
8.1.260.0000.00726.35
8.1.250.0080.00028.09
8.1.240.0090.00022.30
8.1.230.0110.00017.42
8.1.220.0040.00417.76
8.1.210.0040.00418.77
8.1.200.0100.00317.36
8.1.190.0050.00317.25
8.1.180.0050.00318.10
8.1.170.0000.00818.55
8.1.160.0000.00821.87
8.1.150.0000.00718.80
8.1.140.0030.00517.33
8.1.130.0000.00717.56
8.1.120.0040.00417.36
8.1.110.0040.00417.42
8.1.100.0040.00417.30
8.1.90.0000.00717.29
8.1.80.0040.00417.41
8.1.70.0030.00317.43
8.1.60.0000.00717.51
8.1.50.0040.00417.40
8.1.40.0050.00317.54
8.1.30.0000.00817.61
8.1.20.0070.00017.72
8.1.10.0000.00817.57
8.1.00.0000.00717.51
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0070.00018.30
8.0.270.0000.00717.18
8.0.260.0000.00818.34
8.0.250.0000.00716.87
8.0.240.0000.00816.95
8.0.230.0000.00817.02
8.0.220.0040.00416.93
8.0.210.0000.00716.89
8.0.200.0000.00716.91
8.0.190.0040.00416.84
8.0.180.0040.00416.92
8.0.170.0040.00416.87
8.0.160.0040.00416.86
8.0.150.0030.00316.88
8.0.140.0030.00316.75
8.0.130.0060.00313.38
8.0.120.0040.00416.88
8.0.110.0000.00716.84
8.0.100.0040.00416.95
8.0.90.0070.00016.90
8.0.80.0030.01416.84
8.0.70.0000.00816.89
8.0.60.0040.00416.89
8.0.50.0000.00716.85
8.0.30.0080.00816.99
8.0.20.0130.00817.40
8.0.10.0000.00716.99
8.0.00.0110.00716.67
7.4.330.0040.00415.08
7.4.320.0000.00616.43
7.4.300.0060.00016.45
7.4.290.0000.00716.61
7.4.280.0000.00816.63
7.4.270.0040.00416.61
7.4.260.0070.00316.58
7.4.250.0000.00716.56
7.4.240.0060.00116.53
7.4.230.0080.00016.61
7.4.220.0090.00916.35
7.4.210.0110.00716.42
7.4.200.0040.00416.61
7.4.160.0030.01316.49
7.4.150.0120.00617.40
7.4.140.0090.01017.86
7.4.130.0090.01516.51
7.4.120.0120.01216.46
7.4.110.0060.01516.44
7.4.100.0030.01816.41
7.4.90.0080.00816.48
7.4.80.0090.00919.39
7.4.70.0100.00716.59
7.4.60.0120.00316.29
7.4.50.0040.00416.54
7.4.40.0100.00716.41
7.4.30.0060.01316.36
7.4.00.0070.01115.15
7.3.330.0000.00613.17
7.3.320.0000.00613.30
7.3.310.0030.00316.30
7.3.300.0050.00216.32
7.3.290.0030.01116.29
7.3.280.0110.00716.29
7.3.270.0140.00317.40
7.3.260.0130.01016.25
7.3.250.0060.01116.45
7.3.240.0200.00716.46
7.3.230.0080.01316.39
7.3.210.0090.00916.26
7.3.200.0180.00016.51
7.3.190.0030.01316.27
7.3.180.0120.00916.24
7.3.170.0030.01316.34
7.3.160.0130.00316.57
7.3.10.0120.00316.64
7.3.00.0090.00416.60
7.2.330.0090.00816.63
7.2.320.0100.00716.34
7.2.310.0100.00716.48
7.2.300.0060.01116.22
7.2.290.0030.01316.53
7.2.130.0000.01116.86
7.2.120.0070.01016.50
7.2.110.0070.01016.59
7.2.100.0060.00616.67
7.2.90.0060.00616.85
7.2.80.0090.00616.91
7.2.70.0040.01116.93
7.2.60.0060.00616.79
7.2.50.0110.00316.91
7.2.40.0040.01116.90
7.2.30.0040.00916.96
7.2.20.0070.00717.00
7.2.10.0090.00616.85
7.2.00.0000.01218.11
7.1.250.0040.00415.65
7.1.200.0210.00315.51
7.1.100.0000.01118.27
7.1.70.0030.00716.87
7.1.60.0070.01820.03
7.1.50.0100.01317.03
7.1.00.0000.08022.43
7.0.200.0000.00816.72
7.0.60.0070.04019.79
7.0.50.0030.08318.00
7.0.40.0070.07720.09
7.0.30.0230.04320.29
7.0.20.0330.04720.23
7.0.10.0030.04320.24
7.0.00.0100.03720.13
5.6.210.0100.06720.65
5.6.200.0030.04018.19
5.6.190.0070.04720.59
5.6.180.0270.05320.65
5.6.170.0270.07720.61
5.6.160.0030.09020.64
5.6.150.0070.03718.19
5.6.140.0000.04318.18
5.6.130.0030.08318.16
5.6.120.0030.05721.14
5.6.110.0200.07321.18
5.6.100.0100.08721.17
5.6.90.0300.07021.05
5.6.80.0070.05720.61
5.5.350.0030.07320.44
5.5.340.0100.06318.14
5.5.330.0070.07320.30
5.5.320.1670.06020.45
5.5.310.0230.05020.33
5.5.300.0030.04018.09
5.5.290.0030.05018.06
5.5.280.0070.07720.74
5.5.270.0170.08020.87
5.5.260.0130.07720.90
5.5.250.0100.05720.77
5.5.240.0070.07320.34
5.4.450.0130.05319.52
5.4.440.0130.06019.63
5.4.430.0130.06319.63
5.4.420.0130.05319.20
5.4.410.0130.05019.34
5.4.400.0130.05319.34
5.4.390.0100.05719.15
5.4.380.0300.04719.34
5.4.370.0300.05319.19
5.4.360.0100.05319.35
5.4.350.0170.05719.16
5.4.340.0100.06019.34
5.4.320.0070.06019.27
5.4.310.0470.06718.89
5.4.300.0500.04719.34
5.4.290.0170.06019.43
5.4.280.0070.06019.30
5.4.270.0130.05019.10
5.4.260.0030.06019.15
5.4.250.0130.05319.15
5.4.240.0300.05019.14
5.4.230.0030.05719.10
5.4.220.0230.06719.25
5.4.210.0100.05319.04
5.4.200.0200.06019.09
5.4.190.0000.06018.91
5.4.180.0230.06719.20
5.4.170.0370.04719.29
5.4.160.0330.06019.17
5.4.150.0170.05018.88
5.4.140.0100.05316.57
5.4.130.0070.05316.51
5.4.120.0070.05716.64
5.4.110.0200.05716.63
5.4.100.0330.06016.70
5.4.90.0070.05316.66
5.4.80.0100.05316.67
5.4.70.0300.06716.58
5.4.60.0200.05716.40
5.4.50.0000.07716.66
5.4.40.0400.04316.27
5.4.30.0000.03316.38
5.4.20.0300.04716.57
5.4.10.0300.03716.42

preferences:
67.88 ms | 401 KiB | 5 Q