3v4l.org

run code in 300+ PHP versions simultaneously
<?php $textToEncrypt = "hello"; $encryptionMethod = "aes-128-cbc"; $secretHash = "01214562811234530123456589125456"; $iv = "0134467789912651"; $encryptedMessage = openssl_encrypt($textToEncrypt, $encryptionMethod, $secretHash, 0, $iv); $decryptedMessage = openssl_decrypt($encryptedMessage, $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.60.0080.00816.61
8.3.50.0110.00716.47
8.3.40.0100.00318.67
8.3.30.0060.00918.66
8.3.20.0080.00020.90
8.3.10.0080.00021.94
8.3.00.0040.00419.47
8.2.180.0070.01016.59
8.2.170.0140.00722.96
8.2.160.0070.00720.21
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0070.00022.13
8.2.120.0040.00426.35
8.2.110.0030.00620.52
8.2.100.0040.00717.72
8.2.90.0040.00419.09
8.2.80.0030.00517.97
8.2.70.0040.00417.50
8.2.60.0030.00517.91
8.2.50.0030.00618.10
8.2.40.0060.00322.15
8.2.30.0000.00720.91
8.2.20.0030.00518.06
8.2.10.0080.00018.17
8.2.00.0070.00017.93
8.1.280.0090.00925.92
8.1.270.0000.00722.11
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0040.00422.47
8.1.230.0070.00420.82
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0040.00417.35
8.1.190.0040.00417.13
8.1.180.0000.00718.10
8.1.170.0040.00418.59
8.1.160.0070.00019.02
8.1.150.0030.00520.64
8.1.140.0060.00319.44
8.1.130.0060.00318.79
8.1.120.0040.00417.30
8.1.110.0050.00317.40
8.1.100.0040.00417.36
8.1.90.0000.00717.40
8.1.80.0040.00417.30
8.1.70.0040.00417.38
8.1.60.0040.00417.54
8.1.50.0030.00517.53
8.1.40.0100.00017.42
8.1.30.0050.00217.70
8.1.20.0000.00717.54
8.1.10.0040.00417.63
8.1.00.0020.00517.55
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0000.00818.39
8.0.270.0090.00017.14
8.0.260.0000.00716.89
8.0.250.0020.00516.83
8.0.240.0070.00016.99
8.0.230.0050.00316.99
8.0.220.0040.00416.75
8.0.210.0000.00716.75
8.0.200.0030.00616.79
8.0.190.0090.00016.94
8.0.180.0000.00716.91
8.0.170.0000.00816.94
8.0.160.0030.00516.99
8.0.150.0030.00316.85
8.0.140.0030.00416.85
8.0.130.0030.00313.33
8.0.120.0070.00016.69
8.0.110.0030.00316.84
8.0.100.0000.00816.93
8.0.90.0070.00016.80
8.0.80.0070.01016.87
8.0.70.0080.00016.71
8.0.60.0000.00716.76
8.0.50.0040.00416.74
8.0.30.0120.00717.14
8.0.20.0120.00917.40
8.0.10.0080.00016.84
8.0.00.0070.01116.47
7.4.330.0000.00515.55
7.4.320.0060.00016.60
7.4.300.0000.00616.63
7.4.290.0040.00416.48
7.4.280.0000.00816.56
7.4.270.0060.00316.58
7.4.260.0000.00513.29
7.4.250.0000.00816.46
7.4.240.0040.00416.46
7.4.230.0000.00716.62
7.4.220.0090.00916.65
7.4.210.0100.00316.45
7.4.200.0030.00316.40
7.4.160.0100.00616.36
7.4.150.0120.00617.40
7.4.140.0090.01517.86
7.4.130.0150.00616.54
7.4.120.0050.01316.55
7.4.110.0040.01316.49
7.4.100.0090.00916.55
7.4.90.0030.01316.66
7.4.80.0100.01319.39
7.4.70.0070.01116.53
7.4.60.0090.00616.44
7.4.50.0030.01416.45
7.4.40.0100.00616.31
7.4.30.0030.01316.58
7.4.00.0070.00715.23
7.3.330.0050.00313.20
7.3.320.0030.00312.99
7.3.310.0080.00016.17
7.3.300.0020.00516.17
7.3.290.0070.00816.23
7.3.280.0090.00716.29
7.3.270.0090.00917.40
7.3.260.0090.00916.33
7.3.250.0070.01416.27
7.3.240.0070.01016.28
7.3.230.0190.00316.50
7.3.210.0120.00616.25
7.3.200.0130.00616.42
7.3.190.0030.01416.60
7.3.180.0070.01016.15
7.3.170.0030.01316.29
7.3.160.0030.01316.33
7.3.120.0060.01114.63
7.3.110.0070.01114.59
7.3.100.0000.01114.61
7.3.90.0120.00614.81
7.3.80.0070.00714.91
7.3.70.0120.00614.76
7.3.60.0080.00814.88
7.3.50.0090.00614.88
7.3.40.0040.00814.61
7.3.30.0060.00614.74
7.3.20.0060.00616.33
7.3.10.0060.01016.71
7.3.00.0070.00716.42
7.2.330.0070.01116.63
7.2.320.0090.00916.67
7.2.310.0060.00916.61
7.2.300.0120.00316.48
7.2.290.0090.00616.34
7.2.240.0030.01314.93
7.2.230.0070.00714.94
7.2.220.0060.01215.00
7.2.210.0050.00514.98
7.2.200.0030.00914.82
7.2.190.0030.01414.83
7.2.180.0110.00014.54
7.2.170.0030.01014.96
7.2.160.0100.00615.03
7.2.150.0130.00016.75
7.2.140.0150.00016.78
7.2.130.0060.00616.73
7.2.120.0080.00816.84
7.2.110.0070.01016.79
7.2.100.0120.00616.73
7.2.90.0030.00916.70
7.2.80.0100.01016.91
7.2.70.0100.01016.89
7.2.60.0080.00316.81
7.2.50.0070.00416.91
7.2.40.0070.01016.88
7.2.30.0060.00916.78
7.2.20.0000.01516.79
7.2.10.0000.01616.84
7.2.00.0070.00918.04
7.1.330.0070.01015.44
7.1.320.0030.01015.55
7.1.310.0090.00615.87
7.1.300.0100.00715.40
7.1.290.0080.00815.63
7.1.280.0070.00715.68
7.1.270.0070.00715.33
7.1.260.0060.01015.77
7.1.250.0030.01015.70
7.1.200.0080.00415.54
7.1.100.0310.00818.11
7.1.70.0090.01217.35
7.1.60.1770.01033.28
7.1.50.1570.01732.98
7.1.40.1770.02332.58
7.1.30.2430.01332.61
7.1.20.1670.02732.93
7.1.10.1500.01314.90
7.1.00.1630.01314.82
7.0.200.1670.01314.65
7.0.190.1470.01014.92
7.0.180.1330.01314.39
7.0.170.1900.01714.60
7.0.160.1670.01014.45
7.0.150.1430.00314.52
7.0.140.1230.01714.52
7.0.130.1530.01314.60
7.0.120.1200.01014.62
7.0.110.1470.01314.49
7.0.100.1630.00714.50
7.0.90.1530.00714.29
7.0.80.1470.00714.63
7.0.70.1170.01014.49
7.0.60.0900.01314.46
7.0.50.1070.01014.73
7.0.40.1330.01314.67
7.0.30.1070.01314.64
7.0.20.1270.01014.72
7.0.10.1400.00714.57
7.0.00.1230.01014.88

preferences:
42.6 ms | 401 KiB | 5 Q