3v4l.org

run code in 300+ PHP versions simultaneously
<?php $message = "12345678901234560"; $key = "123456789012345678901234"; $iv = "12345678"; $cipher = mcrypt_encrypt(MCRYPT_BLOWFISH, $key, $message, MCRYPT_MODE_CBC, $iv); echo bin2hex($cipher) . "\n"; var_dump( openssl_decrypt( bin2hex($cipher), 'blowfish', $key, OPENSSL_RAW_DATA, $iv ), openssl_error_string() );

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.0170.00316.63
8.3.50.0040.01118.05
8.3.40.0000.01518.74
8.3.30.0080.00818.67
8.3.20.0040.00419.14
8.3.10.0040.00420.61
8.3.00.0080.00023.64
8.2.180.0120.00618.50
8.2.170.0120.00322.96
8.2.160.0100.00320.39
8.2.150.0080.00024.18
8.2.140.0070.00024.66
8.2.130.0000.00919.79
8.2.120.0040.00426.35
8.2.110.0090.00321.00
8.2.100.0060.00617.80
8.2.90.0030.00519.07
8.2.80.0090.00017.97
8.2.70.0040.00417.93
8.2.60.0030.00617.80
8.2.50.0040.00418.10
8.2.40.0040.00419.35
8.2.30.0040.00419.43
8.2.20.0070.00317.87
8.2.10.0050.00218.11
8.2.00.0000.00719.50
8.1.280.0070.00725.92
8.1.270.0030.00522.21
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0090.00021.41
8.1.230.0040.00717.71
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0000.00917.23
8.1.190.0000.00817.25
8.1.180.0080.00018.10
8.1.170.0080.00018.51
8.1.160.0020.00518.79
8.1.150.0070.00018.89
8.1.140.0070.00017.56
8.1.130.0050.00319.06
8.1.120.0040.00417.41
8.1.110.0040.00417.39
8.1.100.0080.00017.29
8.1.90.0040.00417.29
8.1.80.0020.00517.46
8.1.70.0000.00817.36
8.1.60.0060.00317.53
8.1.50.0000.00717.50
8.1.40.0070.00017.52
8.1.30.0070.00017.67
8.1.20.0040.00417.50
8.1.10.0030.00617.57
8.1.00.0040.00417.55
8.0.300.0030.00520.86
8.0.290.0040.00416.75
8.0.280.0030.00318.32
8.0.270.0040.00417.21
8.0.260.0030.00317.25
8.0.250.0000.00716.85
8.0.240.0070.00016.92
8.0.230.0080.00016.80
8.0.220.0040.00416.83
8.0.210.0040.00416.96
8.0.200.0000.00616.97
8.0.190.0040.00416.96
8.0.180.0040.00416.94
8.0.170.0060.00316.84
8.0.160.0030.00316.90
8.0.150.0070.00616.76
8.0.140.0000.00716.74
8.0.130.0030.00313.38
8.0.120.0050.00316.85
8.0.110.0040.00417.01
8.0.100.0000.00716.88
8.0.90.0000.00716.86
8.0.80.0100.00816.88
8.0.70.0050.00316.71
8.0.60.0070.00016.97
8.0.50.0000.00716.70
8.0.30.0080.01217.12
8.0.20.0150.00817.40
8.0.10.0070.00017.04
8.0.00.0070.01216.70
7.4.330.0070.00015.55
7.4.320.0040.00416.40
7.4.300.0000.00616.53
7.4.290.0000.00716.45
7.4.280.0000.00816.51
7.4.270.0030.00316.52
7.4.260.0040.00416.46
7.4.250.0000.00716.57
7.4.240.0070.00016.62
7.4.230.0040.00416.52
7.4.220.0000.00716.59
7.4.210.0080.00716.51
7.4.200.0030.00416.71
7.4.160.0090.01016.60
7.4.140.0110.00917.86
7.4.130.0120.00316.50
7.4.120.0070.01316.45
7.4.110.0090.00916.31
7.4.100.0130.00316.63
7.4.90.0040.01216.56
7.4.80.0090.01219.39
7.4.70.0170.00016.42
7.4.60.0130.00316.52
7.4.50.0130.00616.31
7.4.40.0070.01016.62
7.3.330.0020.00213.11
7.3.320.0060.00013.20
7.3.310.0070.00016.29
7.3.300.0030.00316.25
7.3.290.0070.00016.30
7.3.280.0090.00716.30
7.3.260.0090.01016.40
7.3.240.0080.01216.34
7.3.230.0100.00716.46
7.3.210.0110.00716.51
7.3.200.0060.01016.27
7.3.190.0100.00716.43
7.3.180.0060.00916.37
7.3.170.0200.00016.45
7.3.160.0060.01016.44
7.2.330.0130.00816.60
7.2.320.0060.01516.51
7.2.310.0090.01316.22
7.2.300.0060.01316.40
7.2.290.0070.01016.38

preferences:
57.35 ms | 401 KiB | 5 Q