3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cipher = mcrypt_encrypt(MCRYPT_AES_256, md5('my-key'), 'Hello World'); $plain = mcrypt_decrypt(MCRYPT_AES_256, mdt('not-my-key'), $cipher); var_dump($plain);

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.50
8.3.50.0130.00721.09
8.3.40.0170.00318.79
8.3.30.0040.01118.84
8.3.20.0040.00420.21
8.3.10.0040.00423.36
8.3.00.0060.00323.51
8.2.180.0040.01118.29
8.2.170.0180.00422.96
8.2.160.0030.01020.52
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0030.00619.73
8.2.120.0000.00826.35
8.2.110.0000.00922.26
8.2.100.0120.00017.80
8.2.90.0040.00419.13
8.2.80.0030.00517.97
8.2.70.0030.00617.36
8.2.60.0050.00517.93
8.2.50.0060.00318.07
8.2.40.0000.00822.27
8.2.30.0060.00320.43
8.2.20.0040.00417.66
8.2.10.0050.00217.96
8.2.00.0040.00418.05
8.1.280.0130.00325.92
8.1.270.0030.00623.96
8.1.260.0050.00328.09
8.1.250.0040.00428.09
8.1.240.0060.00322.14
8.1.230.0070.00419.22
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0030.00617.25
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0040.00418.51
8.1.160.0000.00720.54
8.1.150.0070.00018.68
8.1.140.0090.00019.41
8.1.130.0030.00317.48
8.1.120.0040.00417.34
8.1.110.0040.00417.34
8.1.100.0000.00817.16
8.1.90.0000.00817.29
8.1.80.0000.00717.37
8.1.70.0000.00717.32
8.1.60.0000.00917.44
8.1.50.0040.00417.32
8.1.40.0030.00517.48
8.1.30.0050.00317.62
8.1.20.0040.00417.61
8.1.10.0000.00817.37
8.1.00.0000.00817.45
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0030.00318.38
8.0.270.0000.00717.07
8.0.260.0000.00617.15
8.0.250.0030.00316.93
8.0.240.0000.00716.99
8.0.230.0050.00316.90
8.0.220.0030.00316.93
8.0.210.0070.00016.72
8.0.200.0000.00716.98
8.0.190.0000.00816.85
8.0.180.0040.00416.90
8.0.170.0000.00816.88
8.0.160.0000.00716.77
8.0.150.0000.00716.77
8.0.140.0040.00416.80
8.0.130.0000.00613.36
8.0.120.0000.00716.69
8.0.110.0000.00716.79
8.0.100.0070.00016.86
8.0.90.0050.00316.95
8.0.80.0120.00316.91
8.0.70.0000.00816.79
8.0.60.0040.00416.69
8.0.50.0050.00316.77
8.0.30.0140.00417.06
8.0.20.0130.00817.40
8.0.10.0030.00516.96
8.0.00.0120.01016.63
7.4.330.0000.00616.77
7.4.320.0000.00616.56
7.4.300.0030.00316.57
7.4.290.0030.00316.41
7.4.280.0050.00516.55
7.4.270.0000.00716.50
7.4.260.0030.00316.53
7.4.250.0070.00016.52
7.4.240.0020.00516.43
7.4.230.0000.00716.43
7.4.220.0090.01216.51
7.4.210.0100.00416.51
7.4.200.0030.00516.55
7.4.160.0130.00316.42
7.4.150.0100.00717.40
7.4.140.0140.00717.86
7.4.130.0120.00616.63
7.4.120.0100.00816.59
7.4.110.0070.01016.36
7.4.100.0110.00516.43
7.4.90.0180.00016.28
7.4.80.0030.01719.39
7.4.70.0040.01316.52
7.4.60.0090.00916.37
7.4.50.0030.01216.07
7.4.40.0110.00516.30
7.4.30.0130.00716.28
7.4.00.0040.00714.91
7.3.330.0000.00513.23
7.3.320.0030.00313.12
7.3.310.0000.00716.12
7.3.300.0040.00416.16
7.3.290.0030.00316.33
7.3.280.0090.00916.24
7.3.270.0110.01117.40
7.3.260.0150.00616.20
7.3.250.0100.00716.32
7.3.240.0030.01416.34
7.3.230.0140.00316.47
7.3.210.0160.00016.38
7.3.200.0090.00919.39
7.3.190.0130.00316.41
7.3.180.0030.01516.49
7.3.170.0100.00616.27
7.3.160.0130.00516.31
7.2.330.0040.02016.10
7.2.320.0090.00916.57
7.2.310.0100.00716.53
7.2.300.0060.01216.51
7.2.290.0110.00716.34
7.2.60.0100.00316.58
7.2.00.0220.00619.16
7.1.200.0070.00415.51
7.1.100.0000.00817.89
7.1.70.0040.01116.98
7.1.60.0100.01319.21
7.1.50.0000.01316.53
7.1.00.0030.07722.44
7.0.200.0070.00316.68
7.0.60.0230.07021.82
7.0.50.0030.04317.81
7.0.40.0170.07720.20
7.0.30.0430.07320.00
7.0.20.0270.05020.09
7.0.10.0030.05320.16
7.0.00.0070.08720.16
5.6.280.0000.05021.10
5.6.210.0100.05320.47
5.6.200.0030.05318.21
5.6.190.0070.03720.57
5.6.180.0200.04020.46
5.6.170.0230.03320.48
5.6.160.0030.09320.73
5.6.150.0000.04318.22
5.6.140.0100.07318.11
5.6.130.0000.05018.07
5.6.120.0100.07321.11
5.6.110.0070.08321.10
5.6.100.0030.07021.00
5.6.90.0130.05021.10
5.6.80.0130.07320.50
5.5.350.0070.08020.34
5.5.340.0000.05017.98
5.5.330.0170.04020.43
5.5.320.0500.05320.30
5.5.310.0170.04020.32
5.5.300.0070.08017.90
5.5.290.0100.08018.05
5.5.280.0100.08320.76
5.5.270.0170.07720.87
5.5.260.0170.07720.78
5.5.250.0100.07720.70
5.5.240.0070.07020.15

preferences:
40.25 ms | 401 KiB | 5 Q