3v4l.org

run code in 300+ PHP versions simultaneously
<?php function encrypt($str, $key) { $iv = substr(md5("stoppay",true), 0, 8); return mcrypt_encrypt(MCRYPT_RIJNDAEL_128, $key, $str, MCRYPT_MODE_CBC, $iv); } function decrypt($str, $key) { $iv = substr(md5("stoppay",true), 0, 8); return 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.0110.00416.75
8.3.50.0070.00718.04
8.3.40.0130.00319.02
8.3.30.0070.00718.84
8.3.20.0040.00420.25
8.3.10.0040.00421.80
8.3.00.0080.00019.68
8.2.180.0090.00616.75
8.2.170.0080.00822.96
8.2.160.0110.00420.38
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0090.00017.63
8.2.110.0060.00322.11
8.2.100.0000.01217.50
8.2.90.0060.00319.20
8.2.80.0000.00817.97
8.2.70.0040.00417.38
8.2.60.0050.00317.80
8.2.50.0080.00018.07
8.2.40.0000.00719.31
8.2.30.0040.00419.66
8.2.20.0000.00717.69
8.2.10.0000.00718.02
8.2.00.0040.00417.96
8.1.280.0110.00425.92
8.1.270.0080.00020.27
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00722.46
8.1.230.0090.00317.42
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0120.00017.23
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0050.00318.65
8.1.160.0040.00421.96
8.1.150.0040.00418.87
8.1.140.0040.00417.47
8.1.130.0000.00717.63
8.1.120.0000.00717.30
8.1.110.0040.00417.39
8.1.100.0080.00017.45
8.1.90.0020.00517.26
8.1.80.0030.00317.38
8.1.70.0030.00317.30
8.1.60.0040.00417.52
8.1.50.0000.00817.54
8.1.40.0040.00417.40
8.1.30.0030.00617.59
8.1.20.0000.00717.71
8.1.10.0000.00917.57
8.1.00.0000.00717.55
8.0.300.0070.00018.77
8.0.290.0060.00316.75
8.0.280.0040.00418.38
8.0.270.0040.00417.15
8.0.260.0060.00017.20
8.0.250.0050.00216.87
8.0.240.0000.00816.90
8.0.230.0080.00016.95
8.0.220.0030.00316.76
8.0.210.0070.00016.86
8.0.200.0000.00616.95
8.0.190.0000.00716.90
8.0.180.0080.00016.98
8.0.170.0040.00416.78
8.0.160.0000.00716.94
8.0.150.0070.00016.84
8.0.140.0000.00716.75
8.0.130.0040.00413.34
8.0.120.0060.00316.89
8.0.110.0000.00716.81
8.0.100.0070.00016.91
8.0.90.0000.00716.85
8.0.80.0040.01116.90
8.0.70.0050.00316.82
8.0.60.0040.00416.77
8.0.50.0040.00416.76
8.0.30.0080.01116.81
8.0.20.0110.00817.45
8.0.10.0000.00716.91
8.0.00.0100.00916.78
7.4.330.0050.00015.09
7.4.320.0070.00016.49
7.4.300.0030.00316.56
7.4.290.0030.00316.43
7.4.280.0070.00016.50
7.4.270.0030.00316.59
7.4.260.0070.00016.49
7.4.250.0040.00416.33
7.4.240.0050.00316.55
7.4.230.0030.00316.61
7.4.220.0100.01016.55
7.4.210.0030.01116.47
7.4.200.0070.00016.60
7.4.160.0120.00616.49
7.4.150.0030.01417.40
7.4.140.0130.00817.86
7.4.130.0080.01116.53
7.4.120.0140.00616.53
7.4.110.0170.00716.62
7.4.100.0030.01516.49
7.4.90.0170.00016.56
7.4.80.0120.00619.39
7.4.70.0100.00716.67
7.4.60.0180.00016.40
7.4.50.0040.00416.56
7.4.40.0070.01016.52
7.4.30.0110.01216.57
7.4.00.0110.00415.12
7.3.330.0000.00513.09
7.3.320.0000.00513.27
7.3.310.0000.00716.30
7.3.300.0000.00716.27
7.3.290.0070.01216.26
7.3.280.0140.00716.31
7.3.270.0110.00817.40
7.3.260.0110.01416.52
7.3.250.0060.01116.44
7.3.240.0110.01116.48
7.3.230.0090.00916.43
7.3.210.0070.01016.54
7.3.200.0090.01216.35
7.3.190.0030.01316.25
7.3.180.0070.01016.63
7.3.170.0030.01716.34
7.3.160.0070.01116.46
7.2.330.0110.00716.38
7.2.320.0100.00716.42
7.2.310.0040.01216.57
7.2.300.0100.00616.27
7.2.290.0060.01716.68
7.2.60.0000.01516.82
7.2.00.0090.00619.30
7.1.200.0030.01215.67
7.1.100.0000.00818.27
7.1.70.0000.00917.13
7.1.60.0030.02020.03
7.1.50.0030.02116.94
7.1.00.0070.07322.29
7.0.200.0000.00816.77
7.0.60.0070.08720.07
7.0.50.0130.06717.94
7.0.40.0100.08020.09
7.0.30.0130.04720.24
7.0.20.0270.08320.24
7.0.10.0070.07320.38
7.0.00.0200.07020.11
5.6.280.0000.08021.05
5.6.210.0100.07720.63
5.6.200.0030.08318.14
5.6.190.0070.06320.48
5.6.180.0230.08320.42
5.6.170.0230.03720.39
5.6.160.0170.07020.39
5.6.150.0130.07718.21
5.6.140.0000.04318.18
5.6.130.0030.09018.21
5.6.120.0130.07321.13
5.6.110.0000.06020.92
5.6.100.0070.08321.18
5.6.90.0030.08721.11
5.6.80.0070.03720.50
5.5.350.0030.08020.44
5.5.340.0000.05718.05
5.5.330.0000.04720.57
5.5.320.1470.03720.41
5.5.310.0170.03720.33
5.5.300.0030.07018.00
5.5.290.0230.07018.02
5.5.280.0100.08020.86
5.5.270.0100.08020.87
5.5.260.0070.03720.92
5.5.250.0100.07720.66
5.5.240.0070.07320.27
5.4.450.0270.06019.55
5.4.440.0570.05319.46
5.4.430.0330.05719.58
5.4.420.0300.05319.57
5.4.410.0370.07319.23
5.4.400.0470.06019.14
5.4.390.0400.06019.17
5.4.380.0270.06019.26
5.4.370.0330.05718.99
5.4.360.0300.07018.99
5.4.350.0300.05719.33
5.4.340.0270.06019.29
5.4.320.0370.05318.84
5.4.310.0430.04719.25
5.4.300.0270.05719.28
5.4.290.0300.05019.02
5.4.280.0300.06019.16
5.4.270.0330.05318.82
5.4.260.0430.04319.02
5.4.250.0300.05319.20
5.4.240.0370.04318.85
5.4.230.0300.05318.98
5.4.220.0500.06319.11
5.4.210.0500.05719.30
5.4.200.0330.04719.02
5.4.190.0330.05019.25
5.4.180.0330.05318.80
5.4.170.0370.05319.19
5.4.160.0370.06019.27
5.4.150.0270.06718.82
5.4.140.0400.05716.48
5.4.130.0400.05016.45
5.4.120.0430.05016.62
5.4.110.0400.04716.25
5.4.100.0300.05716.55
5.4.90.0430.04716.66
5.4.80.0330.04016.21
5.4.70.0100.05316.39
5.4.60.0270.04016.52
5.4.50.0070.06716.49
5.4.40.0200.03716.59
5.4.30.0000.03716.39
5.4.20.0330.06016.48
5.4.10.0230.03716.51

preferences:
57.05 ms | 400 KiB | 5 Q