3v4l.org

run code in 300+ PHP versions simultaneously
<?php $message = "12345678901234560"; $key = "1234567890123456"; $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.0120.00816.63
8.3.50.0070.00718.08
8.3.40.0060.00918.83
8.3.30.0040.01218.63
8.3.20.0040.00419.04
8.3.10.0060.00320.86
8.3.00.0040.00423.51
8.2.180.0030.01416.75
8.2.170.0110.00722.96
8.2.160.0130.00620.39
8.2.150.0070.01424.18
8.2.140.0000.00724.66
8.2.130.0040.00419.64
8.2.120.0050.00226.35
8.2.110.0070.00419.37
8.2.100.0040.00818.16
8.2.90.0050.00319.05
8.2.80.0000.00817.97
8.2.70.0050.00317.80
8.2.60.0000.00817.73
8.2.50.0000.00818.10
8.2.40.0000.00718.92
8.2.30.0000.00719.38
8.2.20.0050.00517.91
8.2.10.0030.00517.91
8.2.00.0000.00719.41
8.1.280.0120.00325.92
8.1.270.0080.00022.11
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0000.00921.31
8.1.230.0040.00817.83
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0040.00417.35
8.1.180.0070.00018.10
8.1.170.0080.00018.56
8.1.160.0040.00418.68
8.1.150.0040.00418.83
8.1.140.0040.00417.64
8.1.130.0000.00719.02
8.1.120.0030.00617.46
8.1.110.0040.00417.33
8.1.100.0030.00617.31
8.1.90.0030.00317.37
8.1.80.0060.00317.40
8.1.70.0040.00417.39
8.1.60.0060.00317.45
8.1.50.0070.00017.41
8.1.40.0060.00317.50
8.1.30.0000.00817.70
8.1.20.0000.00717.68
8.1.10.0000.00717.55
8.1.00.0050.00217.53
8.0.300.0080.00020.80
8.0.290.0070.00316.63
8.0.280.0070.00018.27
8.0.270.0040.00417.20
8.0.260.0030.00317.20
8.0.250.0090.00016.98
8.0.240.0000.00716.97
8.0.230.0070.00017.00
8.0.220.0030.00316.79
8.0.210.0000.00716.90
8.0.200.0030.00316.91
8.0.190.0000.00716.99
8.0.180.0080.00016.82
8.0.170.0040.00416.80
8.0.160.0070.00016.98
8.0.150.0030.00716.72
8.0.140.0070.00016.84
8.0.130.0030.00313.34
8.0.120.0040.00416.87
8.0.110.0000.00716.95
8.0.100.0030.00516.98
8.0.90.0000.00716.85
8.0.80.0070.01216.95
8.0.70.0000.00716.86
8.0.60.0070.00016.80
8.0.50.0040.00416.90
8.0.30.0110.00817.05
8.0.20.0080.01217.40
8.0.10.0040.00417.06
8.0.00.0130.00816.75
7.4.330.0000.00615.55
7.4.320.0030.00316.49
7.4.300.0060.00016.51
7.4.290.0030.00316.65
7.4.280.0000.00716.55
7.4.270.0080.00016.52
7.4.260.0080.00016.51
7.4.250.0070.00016.46
7.4.240.0000.00716.61
7.4.230.0030.00316.56
7.4.220.0000.00816.69
7.4.210.0140.00116.54
7.4.200.0000.00716.54
7.4.160.0070.00916.47
7.4.140.0120.01017.86
7.4.130.0130.00316.29
7.4.120.0080.01116.47
7.4.110.0120.00616.45
7.4.100.0030.01416.67
7.4.90.0150.00616.55
7.4.80.0130.01019.39
7.4.70.0080.00816.48
7.4.60.0070.01016.46
7.4.50.0110.00416.43
7.4.40.0100.00716.43
7.3.330.0050.00013.10
7.3.320.0000.00613.11
7.3.310.0000.00716.20
7.3.300.0040.00416.18
7.3.290.0030.00316.26
7.3.280.0110.01016.29
7.3.260.0080.01116.44
7.3.240.0070.01016.39
7.3.230.0060.01316.25
7.3.210.0130.00516.52
7.3.200.0030.01216.39
7.3.190.0080.00916.57
7.3.180.0060.00916.29
7.3.170.0120.00416.36
7.3.160.0040.01116.41
7.2.330.0100.00716.34
7.2.320.0090.00916.54
7.2.310.0100.01016.55
7.2.300.0120.00616.36
7.2.290.0150.00816.52

preferences:
59.28 ms | 400 KiB | 5 Q