3v4l.org

run code in 300+ PHP versions simultaneously
<?php $textToEncrypt = "3266"; $encryptionMethod = "aes-128-cbc"; $secretHash = "PYny9tcpR8KMilCybp4V"; $iv = "fgrgfvcfghtfdrfg"; $encryptedMessage = openssl_encrypt($textToEncrypt, $encryptionMethod, $secretHash, 0, $iv); $encryptedMessage = str_replace(' ', '+', $encryptedMessage); $encryptedMessage = str_replace(['/', '=', '+'], ['_', '', '*'], $encryptedMessage); echo 'Token for zone ' . $textToEncrypt . ' is ' . $encryptedMessage;

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.0140.00416.75
8.3.50.0140.00416.01
8.3.40.0070.00718.84
8.3.30.0140.00018.59
8.3.20.0040.00420.26
8.3.10.0080.00021.84
8.3.00.0080.00023.65
8.2.180.0040.01118.54
8.2.170.0140.00722.96
8.2.160.0120.00320.33
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0070.00326.16
8.2.120.0040.00418.91
8.2.110.0050.00520.87
8.2.100.0080.00317.72
8.2.90.0080.00019.02
8.2.80.0000.00817.97
8.2.70.0080.00017.63
8.2.60.0080.00017.80
8.2.50.0080.00018.10
8.2.40.0040.00420.46
8.2.30.0000.00719.24
8.2.20.0000.00717.92
8.2.10.0000.00718.11
8.2.00.0000.00817.92
8.1.280.0110.00425.92
8.1.270.0040.00420.61
8.1.260.0090.00326.35
8.1.250.0080.00028.09
8.1.240.0000.00921.24
8.1.230.0040.00720.29
8.1.220.0040.00417.76
8.1.210.0030.00518.77
8.1.200.0030.00617.23
8.1.190.0030.00517.35
8.1.180.0070.00018.10
8.1.170.0050.00318.57
8.1.160.0000.00718.87
8.1.150.0050.00220.07
8.1.140.0030.00519.46
8.1.130.0000.00718.69
8.1.120.0070.00017.43
8.1.110.0040.00417.30
8.1.100.0070.00017.40
8.1.90.0000.00817.45
8.1.80.0050.00317.28
8.1.70.0000.00717.22
8.1.60.0030.00617.53
8.1.50.0000.00717.49
8.1.40.0060.00317.47
8.1.30.0040.00417.66
8.1.20.0040.00417.68
8.1.10.0040.00417.48
8.1.00.0060.00317.49
8.0.300.0080.00018.77
8.0.290.0000.00716.63
8.0.280.0070.00018.37
8.0.270.0050.00316.72
8.0.260.0030.00320.24
8.0.250.0030.00316.95
8.0.240.0000.00816.86
8.0.230.0030.00316.93
8.0.220.0040.00416.89
8.0.210.0070.00016.75
8.0.200.0030.00316.83
8.0.190.0050.00216.91
8.0.180.0000.00716.93
8.0.170.0030.00316.83
8.0.160.0040.00416.71
8.0.150.0040.00416.84
8.0.140.0070.00016.77
8.0.130.0030.00313.30
8.0.120.0050.00316.86
8.0.110.0040.00416.74
8.0.100.0000.00716.72
8.0.90.0050.00216.79
8.0.80.0110.00716.84
8.0.70.0050.00316.70
8.0.60.0000.00816.91
8.0.50.0030.00516.70
8.0.30.0120.00817.06
8.0.20.0100.00917.40
8.0.10.0060.00317.10
8.0.00.0060.01216.63
7.4.330.0040.00015.55
7.4.320.0030.00316.54
7.4.300.0030.00316.51
7.4.290.0000.00716.49
7.4.280.0040.00416.47
7.4.270.0080.00016.61
7.4.260.0030.00316.47
7.4.250.0040.00416.38
7.4.240.0050.00216.50
7.4.230.0000.00816.61
7.4.220.0160.00616.59
7.4.210.0120.00416.64
7.4.200.0000.00716.34
7.4.160.0070.00916.44
7.4.150.0070.01017.40
7.4.140.0080.01117.86
7.4.130.0110.00916.36
7.4.120.0110.00816.41
7.4.110.0090.00916.32
7.4.100.0120.00616.50
7.4.90.0000.01716.70
7.4.80.0160.00719.39
7.4.70.0180.00316.59
7.4.60.0070.01416.46
7.4.50.0070.01116.64
7.4.40.0100.00716.57
7.4.30.0170.00316.43
7.4.10.0150.00315.05
7.4.00.0030.01415.03
7.3.330.0020.00213.10
7.3.320.0000.00513.16
7.3.310.0000.00716.19
7.3.300.0000.00816.15
7.3.290.0000.00716.24
7.3.280.0080.01016.25
7.3.270.0070.01017.40
7.3.260.0090.01116.51
7.3.250.0120.00516.36
7.3.240.0090.00716.36
7.3.230.0030.01316.56
7.3.210.0120.00616.27
7.3.200.0100.00716.52
7.3.190.0140.00316.51
7.3.180.0150.00016.32
7.3.170.0070.01016.39
7.3.160.0000.01516.21
7.3.130.0040.01514.74
7.3.120.0070.00714.88
7.3.110.0070.01314.89
7.3.100.0030.01214.98
7.3.90.0030.01314.89
7.3.80.0150.00014.76
7.3.70.0040.00714.95
7.3.60.0040.00814.81
7.3.50.0100.00314.89
7.3.40.0060.00614.88
7.3.30.0060.00614.72
7.3.20.0030.00716.58
7.3.10.0030.01116.46
7.3.00.0050.00716.32
7.2.330.0140.00316.49
7.2.320.0070.01716.43
7.2.310.0090.00916.51
7.2.300.0080.00816.47
7.2.290.0120.00316.32
7.2.260.0030.01714.68
7.2.250.0100.01014.69
7.2.240.0000.01314.79
7.2.230.0070.01014.53
7.2.220.0060.00315.03
7.2.210.0040.00814.97
7.2.200.0030.01015.03
7.2.190.0060.00914.73
7.2.180.0070.01114.96
7.2.170.0060.00914.96
7.2.160.0030.00614.74
7.2.150.0080.00416.39
7.2.140.0030.01216.57
7.2.130.0040.01016.61
7.2.120.0030.01116.66
7.2.110.0030.01016.71
7.2.100.0050.00616.65
7.2.90.0040.01016.79
7.2.80.0070.00916.75
7.2.70.0100.00216.72
7.2.60.0050.00616.71
7.2.50.0060.00616.85
7.2.40.0050.01116.72
7.2.30.0060.00916.76
7.2.20.0050.00716.80
7.2.10.0020.01016.77
7.2.00.0030.00916.63
7.1.330.0000.01415.72
7.1.320.0100.00315.49
7.1.310.0030.00915.62
7.1.300.0000.01215.68
7.1.290.0160.00015.59
7.1.280.0060.00615.55
7.1.270.0030.00715.33
7.1.260.0030.01215.43
7.1.250.0070.00715.64
7.1.240.0050.00615.66
7.1.230.0100.00315.64
7.1.220.0060.00315.63
7.1.210.0040.01115.46
7.1.200.0030.00815.61
7.1.190.0070.00715.64
7.1.180.0040.01115.35
7.1.170.0040.01115.71
7.1.160.0040.00815.58
7.1.150.0070.00715.68
7.1.140.0070.00715.35
7.1.130.0070.00715.57
7.1.120.0040.00415.45
7.1.110.0060.00615.75
7.1.100.0030.00715.46
7.1.90.0080.00616.88
7.1.80.0070.00916.73
7.1.70.0050.01016.32
7.1.60.0120.00525.36
7.1.50.0150.00725.31
7.1.40.0120.00925.09
7.1.30.0100.01025.00
7.1.20.0130.00825.10
7.1.10.0030.01115.96
7.1.00.0060.00716.07
7.0.330.0030.00715.11
7.0.320.0070.00715.37
7.0.310.0110.00415.37
7.0.300.0110.00415.47
7.0.290.0070.00715.35
7.0.280.0030.01015.12
7.0.270.0030.01015.18
7.0.260.0030.00715.25
7.0.250.0060.00615.22
7.0.240.0000.00915.50
7.0.230.0070.00716.57
7.0.220.0070.00816.63
7.0.210.0010.01115.99
7.0.200.0010.01115.96
7.0.190.0020.01016.09
7.0.180.0030.00915.73
7.0.170.0060.00715.81
7.0.160.0040.01215.90
7.0.150.0020.01315.63
7.0.140.0050.00815.84
7.0.130.0080.00315.93
7.0.120.0110.00215.79
7.0.110.0080.00515.78
7.0.100.0080.00215.83
7.0.90.0060.01015.71
7.0.80.0080.00615.78
7.0.70.0020.01315.84
7.0.60.0050.00915.73
7.0.50.0030.01015.94
7.0.40.0060.00914.98
7.0.30.0100.00514.97
7.0.20.0080.00614.92
7.0.10.0020.01014.89
7.0.00.0080.00714.94
5.6.400.0030.01014.27
5.6.390.0030.01214.43
5.6.380.0070.00714.06
5.6.370.0030.00914.29
5.6.360.0000.01314.27
5.6.350.0090.00314.34
5.6.340.0040.00414.09
5.6.330.0030.00814.21
5.6.320.0090.00014.18
5.6.310.0130.00014.21
5.6.300.0130.00313.74
5.6.290.0130.00313.99
5.6.280.0030.01014.27
5.6.270.0000.01414.43
5.6.260.0080.00814.22
5.6.250.0080.00314.32
5.6.240.0030.01013.93
5.6.230.0060.00914.18
5.6.220.0070.00714.29
5.6.210.0030.01414.24
5.6.200.0070.00414.22
5.6.190.0090.00314.00
5.6.180.0040.01414.46
5.6.170.0070.00414.09
5.6.160.0000.01113.89
5.6.150.0060.00913.92
5.6.140.0090.00614.29
5.6.130.0090.00614.43
5.6.120.0090.00614.13
5.6.110.0030.01014.44
5.6.100.0000.01114.13
5.6.90.0040.01114.18
5.6.80.0090.00014.08
5.6.70.0000.01713.95
5.6.60.0030.01214.07
5.6.50.0030.00614.25
5.6.40.0090.00314.13
5.6.30.0030.00614.18
5.6.20.0040.01014.02
5.6.10.0000.01414.07
5.6.00.0030.00713.97

preferences:
31.11 ms | 401 KiB | 5 Q