3v4l.org

run code in 300+ PHP versions simultaneously
<?php $textToEncrypt = "hello"; $encryptionMethod = "AES-128-CBC"; $secretHash = "IGA"; $iv = "GPRODataGPROData"; $encryptedMessage = openssl_encrypt($textToEncrypt, $encryptionMethod, $secretHash, 0, $iv); $decryptedMessage = openssl_decrypt('XmyRqNhlTalkas4ccK6jIA==', $encryptionMethod, $secretHash, 0, $iv); echo $decryptedMessage;

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.70.0120.00316.75
8.3.60.0100.01018.20
8.3.50.0090.00816.36
8.3.40.0140.00018.54
8.3.30.0060.00918.67
8.3.20.0040.00420.16
8.3.10.0040.00421.73
8.3.00.0080.00020.88
8.2.180.0070.00718.66
8.2.170.0140.00022.96
8.2.160.0120.00622.14
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00420.47
8.2.120.0000.00726.35
8.2.110.0100.00020.36
8.2.100.0030.00917.78
8.2.90.0050.00319.23
8.2.80.0030.00517.97
8.2.70.0030.00517.63
8.2.60.0060.00317.91
8.2.50.0050.00518.10
8.2.40.0060.00322.22
8.2.30.0040.00420.97
8.2.20.0000.00717.91
8.2.10.0000.00718.05
8.2.00.0000.00718.11
8.1.280.0090.00625.92
8.1.270.0040.00422.14
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0040.00422.61
8.1.230.0040.00819.00
8.1.220.0000.00917.79
8.1.210.0030.00618.77
8.1.200.0050.00517.35
8.1.190.0000.00817.11
8.1.180.0030.00618.10
8.1.170.0040.00718.51
8.1.160.0030.00618.94
8.1.150.0000.00820.52
8.1.140.0030.00519.52
8.1.130.0030.00318.81
8.1.120.0080.00017.34
8.1.110.0030.00517.40
8.1.100.0040.00417.41
8.1.90.0040.00417.45
8.1.80.0030.00517.43
8.1.70.0040.00417.30
8.1.60.0070.00017.49
8.1.50.0040.00417.51
8.1.40.0000.00817.38
8.1.30.0000.00917.63
8.1.20.0000.00817.55
8.1.10.0040.00417.63
8.1.00.0040.00417.48
8.0.300.0040.00418.77
8.0.290.0020.00516.72
8.0.280.0040.00418.39
8.0.270.0030.00317.20
8.0.260.0060.00316.83
8.0.250.0030.00316.91
8.0.240.0050.00516.76
8.0.230.0000.00716.85
8.0.220.0040.00416.88
8.0.210.0000.00716.86
8.0.200.0000.00616.95
8.0.190.0040.00416.99
8.0.180.0000.00716.93
8.0.170.0070.00016.90
8.0.160.0040.00416.88
8.0.150.0030.00416.96
8.0.140.0030.00416.88
8.0.130.0040.00413.33
8.0.120.0000.00816.76
8.0.110.0050.00316.86
8.0.100.0030.00516.88
8.0.90.0030.00516.96
8.0.80.0030.01416.80
8.0.70.0030.00516.84
8.0.60.0000.00716.72
8.0.50.0040.00416.70
8.0.30.0130.00617.01
8.0.20.0140.00917.40
8.0.10.0020.00517.03
8.0.00.0100.00716.40
7.4.330.0000.00515.55
7.4.320.0000.00616.36
7.4.300.0030.00316.50
7.4.290.0040.00416.64
7.4.280.0000.00816.61
7.4.270.0000.00716.41
7.4.260.0030.00316.51
7.4.250.0030.00316.62
7.4.240.0070.00016.59
7.4.230.0070.00016.39
7.4.220.0130.00616.57
7.4.210.0060.01016.63
7.4.200.0070.00016.67
7.4.160.0090.00916.50
7.4.150.0120.00617.40
7.4.140.0080.00917.86
7.4.130.0140.00616.46
7.4.120.0090.00916.53
7.4.110.0120.00616.52
7.4.100.0120.00616.39
7.4.90.0190.00516.43
7.4.80.0030.01319.39
7.4.70.0070.01016.46
7.4.60.0080.00816.78
7.4.50.0040.01016.27
7.4.40.0030.01316.58
7.4.30.0090.01016.54
7.4.00.0080.00815.05
7.3.330.0000.00513.02
7.3.320.0030.00313.14
7.3.310.0040.00416.34
7.3.300.0030.00316.15
7.3.290.0080.01016.25
7.3.280.0100.00616.26
7.3.270.0110.00617.40
7.3.260.0070.01116.47
7.3.250.0110.00916.46
7.3.240.0130.00516.29
7.3.230.0150.00816.63
7.3.210.0100.00716.25
7.3.200.0150.00916.19
7.3.190.0100.00716.29
7.3.180.0170.00016.27
7.3.170.0060.00916.21
7.3.160.0070.01016.21
7.2.330.0000.01716.55
7.2.320.0120.00616.68
7.2.310.0120.00616.40
7.2.300.0030.01316.56
7.2.290.0120.00416.28
7.2.60.1540.00414.77
7.2.00.0040.01119.51
7.1.200.0140.00015.43
7.1.100.0040.00817.95
7.1.70.0050.00217.30
7.1.60.0270.01733.17
7.1.50.0200.01032.61
7.1.40.0400.01332.66
7.1.30.0470.00732.42
7.1.20.0470.01332.82
7.1.10.0270.01014.73
7.1.00.0830.01714.80
7.0.200.0330.01314.99
7.0.190.0270.00714.70
7.0.180.0300.00714.41
7.0.170.0600.00314.42
7.0.160.0330.00314.42
7.0.150.1000.00714.50
7.0.140.0270.01014.61
7.0.130.0270.01314.66
7.0.120.0300.01014.48
7.0.110.0270.01014.43
7.0.100.0300.00714.55
7.0.90.0300.00714.64
7.0.80.0230.01314.48
7.0.70.0170.01714.42
7.0.60.0300.01014.45
7.0.50.0300.01314.74
7.0.40.0330.00714.58
7.0.30.0570.01014.94
7.0.20.0100.00714.71
7.0.10.0270.02014.67
7.0.00.0270.00714.80

preferences:
87.79 ms | 401 KiB | 5 Q