3v4l.org

run code in 300+ PHP versions simultaneously
<?php $encrypt_result = mcrypt_encrypt(MCRYPT_RIJNDAEL_256, "bite", "data", MCRYPT_MODE_ECB); var_dump($encrypt_result); $user_id = 4; $result = rtrim(mcrypt_decrypt(MCRYPT_RIJNDAEL_256, "bite", base64_decode($user_id), MCRYPT_MODE_ECB), "\0"); var_dump($result);

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.01016.63
8.3.50.0060.01216.28
8.3.40.0070.00718.84
8.3.30.0040.01118.67
8.3.20.0040.01120.21
8.3.10.0000.00823.63
8.3.00.0040.00423.51
8.2.180.0090.00616.38
8.2.170.0080.01222.96
8.2.160.0070.00720.58
8.2.150.0000.00725.66
8.2.140.0000.00724.66
8.2.130.0040.00419.45
8.2.120.0040.00426.35
8.2.110.0030.00620.88
8.2.100.0120.00017.93
8.2.90.0040.00419.09
8.2.80.0030.00617.97
8.2.70.0030.00617.48
8.2.60.0000.00817.80
8.2.50.0040.00418.07
8.2.40.0030.00522.34
8.2.30.0070.00020.61
8.2.20.0040.00417.59
8.2.10.0040.00418.08
8.2.00.0040.00418.04
8.1.280.0100.00725.92
8.1.270.0030.00524.01
8.1.260.0070.00328.09
8.1.250.0040.00428.09
8.1.240.0100.00722.48
8.1.230.0070.00419.01
8.1.220.0060.00317.74
8.1.210.0050.00318.77
8.1.200.0000.00817.22
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0030.00618.50
8.1.160.0050.00220.64
8.1.150.0040.00418.76
8.1.140.0050.00319.46
8.1.130.0000.00717.50
8.1.120.0000.00717.35
8.1.110.0000.00717.32
8.1.100.0000.00717.25
8.1.90.0030.00517.32
8.1.80.0000.00717.37
8.1.70.0030.00317.32
8.1.60.0040.00417.33
8.1.50.0040.00817.34
8.1.40.0000.00817.46
8.1.30.0050.00317.54
8.1.20.0040.00417.51
8.1.10.0040.00417.50
8.1.00.0040.00417.33
8.0.300.0030.00518.77
8.0.290.0040.00416.63
8.0.280.0080.00018.30
8.0.270.0030.00317.07
8.0.260.0090.00017.15
8.0.250.0000.00716.95
8.0.240.0000.00916.96
8.0.230.0000.00716.99
8.0.220.0000.00716.89
8.0.210.0040.00416.86
8.0.200.0030.00616.93
8.0.190.0050.00316.87
8.0.180.0000.00716.80
8.0.170.0030.00516.98
8.0.160.0000.00816.97
8.0.150.0030.00316.90
8.0.140.0030.00316.73
8.0.130.0000.00513.25
8.0.120.0000.00916.77
8.0.110.0040.00416.96
8.0.100.0040.00416.82
8.0.90.0000.00816.90
8.0.80.0160.00016.89
8.0.70.0040.00416.88
8.0.60.0040.00416.84
8.0.50.0040.00416.95
8.0.30.0160.00316.94
8.0.20.0090.01117.40
8.0.10.0030.00516.83
8.0.00.0090.01116.63
7.4.330.0000.00516.79
7.4.320.0060.00016.43
7.4.300.0000.00816.42
7.4.290.0070.00016.46
7.4.280.0040.00416.56
7.4.270.0030.00316.57
7.4.260.0030.00316.57
7.4.250.0000.00816.43
7.4.240.0070.00016.54
7.4.230.0030.00316.42
7.4.220.0160.01016.31
7.4.210.0110.00316.41
7.4.200.0050.00216.61
7.4.160.0160.00616.50
7.4.150.0090.00917.40
7.4.140.0120.00617.86
7.4.130.0110.00616.44
7.4.120.0130.00516.52
7.4.110.0160.01016.53
7.4.100.0070.01116.55
7.4.90.0190.00316.73
7.4.80.0060.01319.39
7.4.70.0090.00916.39
7.4.60.0060.01216.60
7.4.50.0080.00316.39
7.4.40.0120.00416.31
7.4.30.0070.01016.38
7.4.00.0040.01414.85
7.3.330.0000.00513.01
7.3.320.0030.00313.11
7.3.310.0070.00016.20
7.3.300.0000.00716.29
7.3.290.0090.00716.28
7.3.280.0080.00916.23
7.3.270.0120.00617.40
7.3.260.0040.01316.28
7.3.250.0050.01116.36
7.3.240.0080.01116.26
7.3.230.0060.01816.39
7.3.210.0070.01016.35
7.3.200.0090.00919.39
7.3.190.0180.00516.25
7.3.180.0030.01216.31
7.3.170.0060.01516.44
7.3.160.0100.00516.36
7.2.330.0000.01616.54
7.2.320.0110.00616.54
7.2.310.0030.01416.49
7.2.300.0040.01216.45
7.2.290.0080.00816.26
7.2.60.0040.01116.54
7.2.00.0110.00419.48
7.1.200.0080.00415.58
7.1.100.0030.00918.04
7.1.70.0030.00916.77
7.1.60.0030.01619.27
7.1.50.0040.01816.84
7.1.00.0030.07722.33
7.0.200.0090.00316.72
7.0.60.0030.08321.74
7.0.50.0100.05017.89
7.0.40.0030.06020.21
7.0.30.0270.05320.16
7.0.20.0300.07020.33
7.0.10.0100.08720.07
7.0.00.0100.03720.16
5.6.280.0030.03720.78
5.6.210.0130.08020.50
5.6.200.0100.03318.13
5.6.190.0170.07320.41
5.6.180.0230.04720.44
5.6.170.0200.05020.56
5.6.160.0070.05320.50
5.6.150.0170.07018.20
5.6.140.0130.07318.19
5.6.130.0100.07718.14
5.6.120.0030.04020.97
5.6.110.0100.05021.17
5.6.100.0070.08321.11
5.6.90.0000.04721.10
5.6.80.0030.06720.48
5.5.350.0000.07720.33
5.5.340.0030.09018.02
5.5.330.0100.05320.20
5.5.320.0600.08020.18
5.5.310.0400.06720.34
5.5.300.0070.06318.09
5.5.290.0070.06717.92
5.5.280.0070.04320.95
5.5.270.0030.04320.83
5.5.260.0070.08320.75
5.5.250.0100.07720.58
5.5.240.0000.05320.26

preferences:
46.96 ms | 400 KiB | 5 Q