3v4l.org

run code in 300+ PHP versions simultaneously
<?php $key = "this is a secret key"; $input = "Let us meet at 9 o'clock at the secret place."; $td = mcrypt_module_open('tripledes', '', 'ecb', ''); $iv = mcrypt_create_iv(mcrypt_enc_get_iv_size($td), MCRYPT_RAND); mcrypt_generic_init($td, $key, $iv); $encrypted_data = mcrypt_generic($td, $input); mcrypt_generic_deinit($td); mcrypt_module_close($td); ?>

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.0150.00618.56
8.3.50.0070.00821.98
8.3.40.0070.01118.77
8.3.30.0080.00619.21
8.3.20.0040.00420.34
8.3.10.0030.00522.09
8.3.00.0040.00422.45
8.2.180.0150.00016.88
8.2.170.0070.00722.96
8.2.160.0070.00720.82
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00819.48
8.2.110.0040.00422.29
8.2.100.0090.00317.78
8.2.90.0000.00819.09
8.2.80.0040.00418.04
8.2.70.0000.00817.50
8.2.60.0060.00318.04
8.2.50.0030.00618.07
8.2.40.0030.00718.03
8.2.30.0030.00518.01
8.2.20.0000.00717.72
8.2.10.0030.00617.63
8.2.00.0030.00617.75
8.1.280.0110.00725.92
8.1.270.0040.00423.86
8.1.260.0040.00426.35
8.1.250.0100.01028.09
8.1.240.0090.00023.94
8.1.230.0110.00019.21
8.1.220.0060.00317.74
8.1.210.0080.00018.77
8.1.200.0030.00717.23
8.1.190.0040.00417.41
8.1.180.0040.00418.10
8.1.170.0050.00318.61
8.1.160.0000.00821.95
8.1.150.0070.00318.61
8.1.140.0070.00017.34
8.1.130.0030.00317.83
8.1.120.0070.00017.37
8.1.110.0030.00317.28
8.1.100.0020.00517.37
8.1.90.0000.00717.35
8.1.80.0030.00317.35
8.1.70.0030.00317.34
8.1.60.0000.00817.51
8.1.50.0030.00517.58
8.1.40.0000.00817.57
8.1.30.0030.00617.69
8.1.20.0030.00517.61
8.1.10.0000.00717.57
8.1.00.0000.00917.47
8.0.300.0000.00718.77
8.0.290.0070.00017.18
8.0.280.0000.00718.41
8.0.270.0000.00717.12
8.0.260.0030.00316.82
8.0.250.0000.00616.86
8.0.240.0000.00716.93
8.0.230.0000.00716.95
8.0.220.0030.00516.78
8.0.210.0030.00316.87
8.0.200.0000.00616.82
8.0.190.0080.00016.95
8.0.180.0050.00316.80
8.0.170.0080.00016.82
8.0.160.0040.00416.77
8.0.150.0000.00716.79
8.0.140.0030.00416.79
8.0.130.0050.00013.37
8.0.120.0070.00016.87
8.0.110.0040.00416.89
8.0.100.0040.00416.96
8.0.90.0000.00816.79
8.0.80.0070.01016.83
8.0.70.0070.00016.84
8.0.60.0000.00716.89
8.0.50.0050.00217.01
8.0.30.0120.00917.10
8.0.20.0090.00917.40
8.0.10.0000.00817.05
8.0.00.0150.00716.77
7.4.330.0050.00015.00
7.4.320.0070.00016.41
7.4.300.0000.00616.50
7.4.290.0000.00716.47
7.4.280.0000.00716.50
7.4.270.0000.00616.46
7.4.260.0030.00316.49
7.4.250.0000.00816.57
7.4.240.0020.00516.53
7.4.230.0070.00016.34
7.4.220.0060.01216.51
7.4.210.0100.01016.41
7.4.200.0000.00716.46
7.4.190.0070.00016.77
7.4.160.0080.00816.46
7.4.150.0060.01117.40
7.4.140.0050.01217.86
7.4.130.0070.01016.49
7.4.120.0080.00816.51
7.4.110.0040.01416.56
7.4.100.0080.00816.63
7.4.90.0070.01016.34
7.4.80.0100.00716.54
7.4.70.0120.00416.66
7.4.60.0100.01016.55
7.4.50.0030.00316.57
7.4.40.0000.01822.77
7.4.30.0030.01316.60
7.4.00.0090.00714.89
7.3.330.0050.00013.25
7.3.320.0000.00513.00
7.3.310.0030.00316.31
7.3.300.0000.00716.25
7.3.290.0060.00816.30
7.3.280.0120.00816.21
7.3.270.0110.00517.40
7.3.260.0150.00216.64
7.3.250.0110.00716.39
7.3.240.0110.00716.31
7.3.230.0070.01116.39
7.3.210.0060.01516.25
7.3.200.0100.00919.39
7.3.190.0140.00316.29
7.3.180.0050.01016.21
7.3.170.0080.00816.32
7.3.160.0070.01016.19
7.3.120.0050.01114.94
7.3.110.0070.00914.70
7.3.100.0120.00514.84
7.3.90.0090.00614.72
7.3.80.0040.01214.77
7.3.70.0070.00614.55
7.3.60.0030.00614.79
7.3.50.0020.01114.76
7.3.40.0100.00714.69
7.3.30.0070.00614.80
7.3.20.0020.01416.54
7.3.10.0070.00716.37
7.3.00.0030.01016.52
7.2.330.0100.00716.56
7.2.320.0000.01816.59
7.2.310.0090.00916.56
7.2.300.0070.01016.59
7.2.290.0070.01116.34
7.2.250.0050.01414.97
7.2.240.0060.01314.84
7.2.230.0020.01314.92
7.2.220.0120.00414.93
7.2.210.0080.00714.99
7.2.200.0020.01314.80
7.2.190.0030.00814.86
7.2.180.0100.00514.67
7.2.170.0060.01214.90
7.2.160.0120.00315.06
7.2.150.0040.01116.67
7.2.140.0040.00816.70
7.2.130.0060.01016.56
7.2.120.0090.00416.46
7.2.110.0070.00816.71
7.2.100.0060.00816.54
7.2.90.0060.00716.68
7.2.80.0050.00916.55
7.2.70.0060.00616.75
7.2.60.0060.00616.67
7.2.50.0050.00816.77
7.2.40.0020.00916.77
7.2.30.0080.00616.83
7.2.20.0050.00716.54
7.2.10.0030.00916.50
7.2.00.0060.00817.21
7.1.330.0030.01015.55
7.1.320.0020.01515.42
7.1.310.0030.01015.63
7.1.300.0020.01015.51
7.1.290.0030.01315.46
7.1.280.0050.00815.69
7.1.270.0010.01115.63
7.1.260.0000.01415.74
7.1.250.0070.00515.38
7.1.240.0040.00415.60
7.1.230.0030.01015.45
7.1.220.0110.00415.59
7.1.210.0070.01015.68
7.1.200.0060.00815.70
7.1.190.0060.00315.72
7.1.180.0030.01015.71
7.1.170.0030.01315.46
7.1.160.0040.00415.70
7.1.150.0070.01115.71
7.1.140.0030.00615.73
7.1.130.0050.00515.41
7.1.120.0000.01515.52
7.1.110.0090.00915.51
7.1.100.0100.00516.73
7.1.90.0030.00915.81
7.1.80.0140.00015.70
7.1.70.0020.00916.25
7.1.60.0080.00717.76
7.1.50.0070.00716.20
7.1.40.0100.00315.39
7.1.30.0030.01015.39
7.1.20.0000.01315.52
7.1.10.0030.01015.51
7.1.00.0030.04118.88
7.0.330.0070.00715.21
7.0.320.0030.00615.14
7.0.310.0040.00815.49
7.0.300.0060.00615.27
7.0.290.0060.00915.53
7.0.280.0080.00415.39
7.0.270.0030.01015.09
7.0.260.0090.00615.30
7.0.250.0040.01115.39
7.0.240.0150.00015.10
7.0.230.0000.01115.21
7.0.220.0120.00315.38
7.0.210.0080.00815.30
7.0.200.0060.00416.01
7.0.190.0000.01215.42
7.0.180.0000.01415.46
7.0.170.0080.00315.43
7.0.160.0040.01515.34
7.0.150.0030.01015.37
7.0.140.0050.03718.74
7.0.130.0000.01315.30
7.0.120.0070.00315.41
7.0.110.0040.01115.30
7.0.100.0000.00915.46
7.0.90.0050.00315.25
7.0.80.0120.03117.68
7.0.70.0300.03117.55
7.0.60.0290.02517.69
7.0.50.0200.05218.00
7.0.40.0130.03816.79
7.0.30.0060.02516.83
7.0.20.0070.03816.79
7.0.10.0050.02816.82
7.0.00.0050.02316.67
5.6.400.0040.00814.12
5.6.390.0100.00714.01
5.6.380.0090.00014.26
5.6.370.0060.00613.79
5.6.360.0030.01014.07
5.6.350.0070.01114.47
5.6.340.0040.00714.09
5.6.330.0030.01013.98
5.6.320.0030.01314.15
5.6.310.0060.00614.21
5.6.300.0030.01014.40
5.6.290.0100.00314.11
5.6.280.0050.04217.76
5.6.270.0080.00614.02
5.6.260.0060.00514.11
5.6.250.0030.00714.14
5.6.240.0070.01014.03
5.6.230.0090.02317.37
5.6.220.0070.03517.49
5.6.210.0050.03717.27
5.6.200.0080.02617.67
5.6.190.0050.03017.63
5.6.180.0110.04217.79
5.6.170.0030.04217.66
5.6.160.0040.04517.65
5.6.150.0070.04317.59
5.6.140.0070.03917.63
5.6.130.0040.04417.58
5.6.120.0020.03617.59
5.6.110.0090.03517.62
5.6.100.0030.03017.51
5.6.90.0030.03317.71
5.6.80.0110.01817.41
5.6.70.0040.02517.46
5.6.60.0050.04717.21
5.6.50.0080.02617.29
5.6.40.0070.02717.33
5.6.30.0100.03617.35
5.6.20.0080.04017.38
5.6.10.0070.04217.32
5.6.00.0050.04317.24
5.5.380.0120.00614.08
5.5.370.0020.02517.18
5.5.360.0070.03017.39
5.5.350.0030.04817.04
5.5.340.0020.04717.47
5.5.330.0020.04917.43
5.5.320.0070.03717.49
5.5.310.0070.03517.53
5.5.300.0070.04017.41
5.5.290.0050.04517.54
5.5.280.0030.04717.59
5.5.270.0040.02917.40
5.5.260.0050.04017.46
5.5.250.0120.03717.49
5.5.240.0100.03817.26
5.5.230.0050.04417.12
5.5.220.0110.04517.29
5.5.210.0020.03917.11
5.5.200.0090.02417.06
5.5.190.0030.02817.20
5.5.180.0050.02717.21
5.5.170.0100.00313.55
5.5.160.0090.03717.12
5.5.150.0050.05217.17
5.5.140.0030.03016.93
5.5.130.0020.04517.03
5.5.120.0090.04117.15
5.5.110.0080.04017.04
5.5.100.0090.04317.14
5.5.90.0050.04617.04
5.5.80.0020.04417.07
5.5.70.0050.04317.03
5.5.60.0040.04217.09
5.5.50.0020.03017.18
5.5.40.0070.03316.82
5.5.30.0050.02717.12
5.5.20.0070.04217.01
5.5.10.0090.02316.92
5.5.00.0080.04016.97
5.4.450.0040.02516.26
5.4.440.0050.02316.30
5.4.430.0060.02816.28
5.4.420.0050.03316.22
5.4.410.0070.03916.20
5.4.400.0020.03516.00
5.4.390.0100.03016.06
5.4.380.0050.04316.13
5.4.370.0070.03916.08
5.4.360.0070.02016.06
5.4.350.0050.02016.07
5.4.340.0070.03116.08
5.4.330.0000.01013.13
5.4.320.0040.04216.10
5.4.310.0070.03616.15
5.4.300.0050.04216.13
5.4.290.0120.02316.11
5.4.280.0100.03216.19
5.4.270.0100.03615.99
5.4.260.0030.04516.13
5.4.250.0080.02016.10
5.4.240.0110.03316.10
5.4.230.0070.03016.04
5.4.220.0040.02216.19
5.4.210.0030.02816.13
5.4.200.0090.03716.11
5.4.190.0050.02316.10
5.4.180.0090.02516.13
5.4.170.0070.02516.16
5.4.160.0060.03816.03
5.4.150.0020.04516.07
5.4.140.0110.03614.70
5.4.130.0000.02814.76
5.4.120.0050.03714.77
5.4.110.0070.03714.72
5.4.100.0060.02314.72
5.4.90.0080.04114.71
5.4.80.0030.03314.79
5.4.70.0080.02814.71
5.4.60.0050.03114.79
5.4.50.0030.03414.81
5.4.40.0050.04214.72
5.4.30.0050.02314.75
5.4.20.0030.04314.78
5.4.10.0070.04014.78
5.4.00.0080.03214.50
5.3.290.0070.04314.61
5.3.280.0000.04714.58
5.3.270.0030.04714.57
5.3.260.0070.06714.46
5.3.250.0100.07014.60
5.3.240.0000.07314.59
5.3.230.0000.07714.59
5.3.220.0030.06314.43
5.3.210.0100.07014.39
5.3.200.0030.08014.42
5.3.190.0030.05014.55
5.3.180.0170.06714.52
5.3.170.0100.06314.51
5.3.160.0070.07314.55
5.3.150.0130.07014.39
5.3.140.0130.05014.56
5.3.130.0070.06314.53
5.3.120.0100.07014.41
5.3.110.0030.06014.49
5.3.100.0100.07013.99
5.3.90.0000.07713.98
5.3.80.0100.07013.98
5.3.70.0130.06013.98
5.3.60.0200.03013.99
5.3.50.0130.05713.93
5.3.40.0100.03013.92
5.3.30.0030.04713.76
5.3.20.0000.04013.76
5.3.10.0000.04313.76
5.3.00.0100.03013.76
5.2.170.0070.06013.76
5.2.160.0070.04713.76
5.2.150.0100.03013.76
5.2.140.0030.02713.76
5.2.130.0030.04313.76
5.2.120.0070.04713.76
5.2.110.0070.02713.76
5.2.100.0000.03013.76
5.2.90.0000.03013.76
5.2.80.0000.03013.76
5.2.70.0000.03013.76
5.2.60.0030.02713.76
5.2.50.0000.03313.76
5.2.40.0030.02713.76
5.2.30.0030.02713.76
5.2.20.0070.02713.76
5.2.10.0030.02713.76
5.2.00.0000.03013.76
5.1.60.0030.02713.76
5.1.50.0000.02713.76
5.1.40.0000.02713.76
5.1.30.0000.02713.76
5.1.20.0030.02313.76
5.1.10.0000.03013.76
5.1.00.0030.03013.76
5.0.50.0030.04013.76
5.0.40.0000.02013.76
5.0.30.0000.03313.76
5.0.20.0000.01713.76
5.0.10.0030.01713.76
5.0.00.0000.03013.76
4.4.90.0000.01313.76
4.4.80.0000.03313.76
4.4.70.0000.01313.76
4.4.60.0030.01313.76
4.4.50.0000.02313.76
4.4.40.0000.03013.76
4.4.30.0030.01713.76
4.4.20.0000.01713.76
4.4.10.0030.01713.76
4.4.00.0030.03313.76
4.3.110.0000.01713.76
4.3.100.0000.01313.76
4.3.90.0000.01313.76
4.3.80.0030.02013.76
4.3.70.0030.01013.76
4.3.60.0000.01313.76
4.3.50.0000.01313.76
4.3.40.0030.02013.76
4.3.30.0000.02013.76
4.3.20.0000.01713.76
4.3.10.0000.02713.76
4.3.00.0030.01313.76

preferences:
61.92 ms | 401 KiB | 5 Q