3v4l.org

run code in 300+ PHP versions simultaneously
<?php $key = 'SuperSecretKey'; //To Encrypt: $encrypted = mcrypt_encrypt(MCRYPT_RIJNDAEL_256, $key, 'I want to encrypt this', MCRYPT_MODE_ECB); //To Decrypt: $decrypted = mcrypt_decrypt(MCRYPT_RIJNDAEL_256, $key, $encrypted, MCRYPT_MODE_ECB); var_dump($descrypted);

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.00418.43
8.3.50.0120.01221.14
8.3.40.0120.00618.54
8.3.30.0140.00020.16
8.3.20.0070.00720.09
8.3.10.0040.00422.09
8.3.00.0080.00022.32
8.2.180.0130.01016.88
8.2.170.0110.00422.96
8.2.160.0130.00320.43
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0150.00320.53
8.2.110.0040.00422.24
8.2.100.0070.00417.72
8.2.90.0040.00419.09
8.2.80.0000.00719.25
8.2.70.0060.00317.63
8.2.60.0030.00617.79
8.2.50.0000.00818.07
8.2.40.0050.00318.21
8.2.30.0040.00419.49
8.2.20.0040.00417.64
8.2.10.0050.00317.61
8.2.00.0040.00417.73
8.1.280.0140.00025.92
8.1.270.0080.00023.99
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0080.00023.78
8.1.230.0070.00319.21
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0060.00317.23
8.1.190.0080.00017.55
8.1.180.0040.00418.10
8.1.170.0080.00018.65
8.1.160.0000.00918.70
8.1.150.0030.00518.49
8.1.140.0060.00317.34
8.1.130.0030.00317.26
8.1.120.0000.00717.46
8.1.110.0040.00417.25
8.1.100.0080.00017.38
8.1.90.0030.00317.39
8.1.80.0000.00717.44
8.1.70.0000.00717.38
8.1.60.0040.00417.51
8.1.50.0080.00017.55
8.1.40.0000.00817.48
8.1.30.0000.00717.60
8.1.20.0050.00317.55
8.1.10.0000.00717.62
8.1.00.0030.00517.42
8.0.300.0000.00818.77
8.0.290.0000.00716.93
8.0.280.0000.00718.30
8.0.270.0000.00717.07
8.0.260.0050.00216.80
8.0.250.0070.00016.87
8.0.240.0040.00416.83
8.0.230.0000.00616.82
8.0.220.0000.00716.79
8.0.210.0040.00416.90
8.0.200.0000.00716.85
8.0.190.0040.00417.02
8.0.180.0000.00716.89
8.0.170.0040.00416.84
8.0.160.0040.00416.95
8.0.150.0000.00716.85
8.0.140.0030.00716.80
8.0.130.0000.00513.25
8.0.120.0030.00516.78
8.0.110.0000.00816.79
8.0.100.0040.00416.84
8.0.90.0080.00016.88
8.0.80.0090.00616.83
8.0.70.0000.00716.96
8.0.60.0000.00716.71
8.0.50.0050.00316.82
8.0.30.0120.00617.13
8.0.20.0070.01217.40
8.0.10.0030.00316.83
8.0.00.0100.01116.70
7.4.330.0050.00016.83
7.4.320.0000.00616.34
7.4.300.0000.00816.50
7.4.290.0070.00016.40
7.4.280.0060.00316.56
7.4.270.0080.00016.57
7.4.260.0000.00513.27
7.4.250.0000.00816.54
7.4.240.0040.00416.44
7.4.230.0070.00016.25
7.4.220.0060.01016.50
7.4.210.0090.00616.58
7.4.200.0020.00516.50
7.4.190.0030.00316.66
7.4.160.0090.00616.29
7.4.150.0130.00317.40
7.4.140.0130.00317.86
7.4.130.0060.01116.52
7.4.120.0080.00816.47
7.4.110.0170.00016.50
7.4.100.0100.00716.45
7.4.90.0070.01116.48
7.4.80.0040.01719.39
7.4.70.0080.00816.48
7.4.60.0150.00516.55
7.4.50.0050.00316.43
7.4.40.0030.01322.77
7.4.30.0100.00716.57
7.4.00.0030.01014.80
7.3.330.0050.00013.14
7.3.320.0060.00013.17
7.3.310.0040.00416.25
7.3.300.0050.00316.24
7.3.290.0060.01316.23
7.3.280.0050.01016.28
7.3.270.0090.00917.40
7.3.260.0120.00616.25
7.3.250.0060.01116.35
7.3.240.0080.00816.32
7.3.230.0100.00716.39
7.3.210.0110.00616.57
7.3.200.0130.00919.39
7.3.190.0150.00416.54
7.3.180.0090.00616.18
7.3.170.0070.01016.36
7.3.160.0070.01016.18
7.3.120.0070.00714.62
7.2.330.0090.01116.41
7.2.320.0100.01316.21
7.2.310.0120.00916.57
7.2.300.0090.00916.21
7.2.290.0090.00916.29
7.2.60.0120.00416.56
7.2.00.0070.00419.30
7.1.200.0030.00915.37
7.1.100.0040.00817.85
7.1.70.0030.00516.90
7.1.60.0070.00719.17
7.1.50.0070.01816.74
7.1.00.0070.03322.44
7.0.200.0050.00216.41
7.0.140.0000.07722.09
7.0.60.0230.06320.01
7.0.50.0030.05017.90
7.0.40.0100.07020.04
7.0.30.0430.03720.33
7.0.20.0200.08020.09
7.0.10.0170.03320.12
7.0.00.0070.05020.22
5.6.280.0100.06721.04
5.6.210.0130.06720.64
5.6.200.0170.06318.14
5.6.190.0170.08020.52
5.6.180.0400.04320.72
5.6.170.0170.05020.50
5.6.160.0030.06720.55
5.6.150.0100.05018.21
5.6.140.0070.06318.14
5.6.130.0130.06718.23
5.6.120.0030.05721.06
5.6.110.0030.07721.17
5.6.100.0070.08021.04
5.6.90.0100.08321.01
5.6.80.0030.04320.54
5.5.350.3170.03720.35
5.5.340.0100.07718.00
5.5.330.0030.04320.18
5.5.320.0030.08020.30
5.5.310.0300.05320.26
5.5.300.0000.04317.95
5.5.290.0070.05317.95
5.5.280.0230.04320.73
5.5.270.0030.04320.93
5.5.260.0030.08720.91
5.5.250.0100.08020.72
5.5.240.0170.08320.25
5.4.450.0330.07019.30
5.4.440.0230.05019.51
5.4.430.0230.05319.16
5.4.420.0170.04719.15
5.4.410.0330.03719.03
5.4.400.0300.06318.83
5.4.390.0230.07319.12
5.4.380.0100.04719.00
5.4.370.0200.05719.09
5.4.360.0200.07719.18
5.4.350.0170.04019.14
5.4.340.0270.03318.84
5.4.320.0300.06319.14
5.4.310.0170.03719.27
5.4.300.0270.04319.11
5.4.290.0330.06319.18
5.4.280.0200.06018.84
5.4.270.0170.07319.09
5.4.260.0130.04718.91
5.4.250.0270.06319.06
5.4.240.0200.05319.09
5.4.230.0200.04319.13
5.4.220.0230.06018.91
5.4.210.0170.06718.83
5.4.200.0200.07318.98
5.4.190.0300.04018.81
5.4.180.0300.06319.15
5.4.170.0230.04718.81
5.4.160.0270.07719.27
5.4.150.0300.04718.90
5.4.140.0200.05016.41
5.4.130.0200.07316.27
5.4.120.0100.05716.53
5.4.110.0270.06016.55
5.4.100.0270.07016.44
5.4.90.0230.07016.32
5.4.80.0230.05016.52
5.4.70.0230.06716.45
5.4.60.0270.04716.55
5.4.50.0270.04016.52
5.4.40.0270.06316.46
5.4.30.0200.07016.33
5.4.20.0200.04016.45
5.4.10.0270.06716.35
5.4.00.0270.06315.79
5.3.290.0200.05314.61
5.3.280.0230.07314.54
5.3.270.0200.04714.48
5.3.260.0230.05014.53
5.3.250.0200.07314.69
5.3.240.0370.03714.44
5.3.230.0200.06314.62
5.3.220.0330.06014.42
5.3.210.0200.06014.65
5.3.200.0230.06714.51
5.3.190.0230.07014.47
5.3.180.0200.05714.42
5.3.170.0130.05714.43
5.3.160.0170.07714.54
5.3.150.0200.07314.46
5.3.140.0300.03714.50
5.3.130.0270.07014.45
5.3.120.0200.07714.52
5.3.110.0200.06014.49
5.3.100.0230.04713.89
5.3.90.0200.07014.05
5.3.80.0200.04014.00
5.3.70.0230.07313.79
5.3.60.0230.06713.93
5.3.50.0170.06313.91
5.3.40.0130.06713.99
5.3.30.0100.04013.74
5.3.20.0370.03013.60
5.3.10.0330.03313.60
5.3.00.0100.06313.48
5.2.170.0070.04011.75
5.2.160.0200.05711.75
5.2.150.0200.02711.75
5.2.140.0170.03011.75
5.2.130.0200.05011.75
5.2.120.0300.03011.75
5.2.110.0270.05011.75
5.2.100.0170.04711.75
5.2.90.0230.05711.75
5.2.80.0330.02311.75
5.2.70.0230.03711.75
5.2.60.0200.04011.75
5.2.50.0230.03311.75
5.2.40.0130.05311.75
5.2.30.0170.04011.75
5.2.20.0200.05011.75
5.2.10.0170.03711.75
5.2.00.0200.06011.75
5.1.60.0170.05311.75
5.1.50.0230.02711.75
5.1.40.0170.03011.75
5.1.30.0200.02011.75
5.1.20.0130.05711.75
5.1.10.0170.03011.75
5.1.00.0100.03311.75
5.0.50.0070.04011.75
5.0.40.0100.03311.75
5.0.30.0130.02711.75
5.0.20.0170.03711.75
5.0.10.0070.02711.75
5.0.00.0070.06311.75
4.4.90.0130.03011.75
4.4.80.0100.03011.75
4.4.70.0130.03011.75
4.4.60.0070.03311.75
4.4.50.0100.02011.75
4.4.40.0070.04311.75
4.4.30.0070.03011.75
4.4.20.0070.03011.75
4.4.10.0100.02711.75
4.4.00.0100.04311.75
4.3.110.0070.02311.75
4.3.100.0000.02011.75
4.3.90.0030.03311.75
4.3.80.0170.04311.75
4.3.70.0100.03011.75
4.3.60.0130.02711.75
4.3.50.0100.02011.75
4.3.40.0170.03011.75
4.3.30.0030.03311.75
4.3.20.0070.03711.75
4.3.10.0070.03011.75
4.3.00.0030.03711.75

preferences:
43.4 ms | 401 KiB | 5 Q