3v4l.org

run code in 300+ PHP versions simultaneously
<?php $key = '12345678'; $data = '12345678'; var_dump( bin2hex(mcrypt_encrypt(MCRYPT_DES, $key, $data, MCRYPT_MODE_ECB, '')), bin2hex(openssl_encrypt($data, 'des-ecb', $key, OPENSSL_RAW_DATA, '')) );

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.0130.00716.63
8.3.50.0130.00821.21
8.3.40.0130.00718.80
8.3.30.0040.01418.85
8.3.20.0040.00420.18
8.3.10.0080.00023.66
8.3.00.0080.00022.34
8.2.180.0120.00316.60
8.2.170.0120.00322.96
8.2.160.0140.00322.30
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0060.00317.50
8.2.110.0150.00020.57
8.2.100.0060.00617.72
8.2.90.0000.00818.22
8.2.80.0040.00417.97
8.2.70.0040.00417.63
8.2.60.0050.00317.80
8.2.50.0060.00318.07
8.2.40.0040.00719.39
8.2.30.0070.00019.70
8.2.20.0000.00717.66
8.2.10.0040.00417.93
8.2.00.0040.00418.15
8.1.280.0140.00025.92
8.1.270.0080.00020.23
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0100.00021.97
8.1.230.0070.00422.65
8.1.220.0000.00817.78
8.1.210.0030.00618.77
8.1.200.0060.00317.23
8.1.190.0040.00417.36
8.1.180.0040.00418.10
8.1.170.0080.00018.46
8.1.160.0000.00721.90
8.1.150.0050.00218.74
8.1.140.0040.00417.38
8.1.130.0040.00417.54
8.1.120.0000.00717.32
8.1.110.0000.00717.27
8.1.100.0030.00317.42
8.1.90.0040.00317.31
8.1.80.0040.00417.41
8.1.70.0030.00317.29
8.1.60.0060.00317.37
8.1.50.0000.00917.43
8.1.40.0000.00817.49
8.1.30.0030.00617.59
8.1.20.0040.00417.65
8.1.10.0040.00417.52
8.1.00.0050.00317.48
8.0.300.0030.00420.02
8.0.290.0030.00616.75
8.0.280.0070.00018.28
8.0.270.0000.00717.05
8.0.260.0030.00317.18
8.0.250.0030.00616.98
8.0.240.0000.00716.93
8.0.230.0030.00316.87
8.0.220.0000.00816.86
8.0.210.0040.00416.90
8.0.200.0030.00316.84
8.0.190.0050.00316.93
8.0.180.0050.00316.87
8.0.170.0050.00316.90
8.0.160.0070.00016.95
8.0.150.0030.00516.86
8.0.140.0070.00016.79
8.0.130.0000.00613.30
8.0.120.0040.00416.73
8.0.110.0070.00016.93
8.0.100.0060.00316.87
8.0.90.0070.00016.90
8.0.80.0090.00616.91
8.0.70.0030.00516.71
8.0.60.0040.00416.86
8.0.50.0070.00016.91
8.0.30.0080.01117.06
8.0.20.0130.00917.40
8.0.10.0000.00716.89
8.0.00.0060.01216.89
7.4.330.0020.00215.21
7.4.320.0060.00016.54
7.4.300.0020.00516.58
7.4.290.0070.00016.52
7.4.280.0000.01216.64
7.4.270.0030.00316.61
7.4.260.0070.00016.56
7.4.250.0040.00416.47
7.4.240.0020.00516.59
7.4.230.0000.00716.32
7.4.220.0110.00716.63
7.4.210.0050.01016.62
7.4.200.0070.00016.41
7.4.160.0100.00716.55
7.4.150.0130.00617.40
7.4.140.0100.01117.86
7.4.130.0090.01216.48
7.4.120.0070.01016.47
7.4.110.0110.00516.51
7.4.100.0210.00316.44
7.4.90.0090.00916.43
7.4.80.0130.00319.39
7.4.70.0040.01216.47
7.4.60.0080.00816.41
7.4.50.0000.00816.42
7.4.40.0080.00816.61
7.4.30.0070.01516.57
7.4.00.0110.00414.90
7.3.330.0040.00413.11
7.3.320.0050.00213.11
7.3.310.0070.00016.31
7.3.300.0030.00316.29
7.3.290.0000.00716.23
7.3.280.0070.00816.31
7.3.270.0030.01317.40
7.3.260.0030.01316.29
7.3.250.0100.00716.29
7.3.240.0100.00716.18
7.3.230.0110.00716.39
7.3.210.0120.01216.40
7.3.200.0100.01316.13
7.3.190.0070.00716.42
7.3.180.0210.00016.49
7.3.170.0060.00916.51
7.3.160.0060.00916.47
7.3.00.0100.00716.54
7.2.330.0090.00916.60
7.2.320.0030.01316.51
7.2.310.0100.00716.29
7.2.300.0100.01016.39
7.2.290.0060.01016.52
7.2.130.0060.00916.60
7.2.120.0130.00316.69
7.2.110.0100.00716.50
7.2.100.0060.00916.66
7.2.90.0110.00316.87
7.2.80.0090.00616.91
7.2.70.0100.00716.75
7.2.60.0070.00816.60
7.2.50.0070.00716.84
7.2.40.0030.01016.45
7.2.30.0100.01016.78
7.2.20.0070.01116.65
7.2.10.0100.00616.83
7.2.00.0060.00818.10
7.1.250.0090.00615.55
7.1.240.0060.00615.47
7.1.230.0130.00315.34
7.1.220.0070.00715.50
7.1.210.0040.00815.12
7.1.200.0060.00615.38
7.1.190.0130.00315.06
7.1.180.0070.00715.11
7.1.170.0070.00715.56
7.1.160.0090.00615.24
7.1.150.0100.00315.51
7.1.140.0060.00915.39
7.1.130.0170.00315.20
7.1.120.0030.01015.50
7.1.110.0120.00615.21
7.1.100.0080.00616.49
7.1.90.0070.00715.38
7.1.80.0090.00615.63
7.1.70.0060.00516.27
7.1.60.0080.01217.35
7.1.50.0050.00916.19
7.1.40.0090.00615.56
7.1.30.0040.00715.57
7.1.20.0090.00915.38
7.1.10.0070.00715.60
7.1.00.0080.04018.97
7.0.330.0120.00815.12
7.0.320.0090.00315.12
7.0.310.0120.00314.96
7.0.300.0080.00315.11
7.0.290.0030.01114.74
7.0.280.0070.00715.23
7.0.270.0030.01415.10
7.0.260.0110.00415.21
7.0.250.0080.00415.12
7.0.240.0110.00715.26
7.0.230.0120.00415.20
7.0.220.0100.00315.04
7.0.210.0100.00715.30
7.0.200.0030.01015.62
7.0.190.0110.00415.14
7.0.180.0110.00315.37
7.0.170.0070.01115.15
7.0.160.0030.01315.40
7.0.150.0090.00915.13
7.0.140.0070.01015.00
7.0.130.0130.00315.21
7.0.120.0060.00615.14
7.0.110.0100.00615.36
7.0.100.0040.01115.36
7.0.90.0110.00415.41
7.0.80.0130.00314.96
7.0.70.0090.00614.95
7.0.60.0060.02317.61
7.0.50.0080.02816.74
7.0.40.0050.02416.80
7.0.30.0300.04216.71
7.0.20.0130.04416.70
7.0.10.0050.02516.77
7.0.00.0070.03016.74
5.6.380.0000.01114.00
5.6.370.0040.00813.76
5.6.360.0040.01213.77
5.6.350.0040.01113.74
5.6.340.0060.00613.60
5.6.330.0070.00713.79
5.6.320.0070.00713.43
5.6.310.0070.00313.84
5.6.300.0070.00714.15
5.6.290.0040.00813.98
5.6.280.0060.00613.93
5.6.270.0040.00813.88
5.6.260.0000.01113.66
5.6.250.0100.00313.79
5.6.240.0100.00314.13
5.6.230.0050.00513.87
5.6.220.0080.00314.16
5.6.210.0050.02417.35
5.6.200.0020.04615.94
5.6.190.0050.02317.27
5.6.180.0150.03217.36
5.6.170.0170.02617.13
5.6.160.0030.02717.23
5.6.150.0040.02816.00
5.6.140.0070.03915.93
5.6.130.0030.03216.01
5.6.120.0070.04417.71
5.6.110.0080.03217.43
5.6.100.0020.04017.55
5.6.90.0070.03017.52
5.6.80.0120.02817.21
5.6.70.1720.01817.35
5.6.60.0080.00313.92
5.6.50.0050.00913.87
5.6.40.0070.00713.64
5.6.30.0040.01213.75
5.6.20.0000.01714.20
5.6.10.0040.00713.83
5.6.00.0100.00313.82
5.5.380.0000.01010.90
5.5.370.0050.00510.90
5.5.360.0030.00710.93
5.5.350.0050.04215.69
5.5.340.0030.03014.52
5.5.330.0080.04115.64
5.5.320.0130.03415.68
5.5.310.0180.02315.68
5.5.300.0060.04214.46
5.5.290.0070.04114.46
5.5.280.0080.04315.86
5.5.270.0080.03316.00
5.5.260.0070.03515.88
5.5.250.0050.04415.75
5.5.240.0100.02315.61
5.5.230.0000.00611.04
5.5.220.0040.00410.90
5.5.210.0000.00810.90
5.5.200.0050.00510.90
5.5.190.0000.00910.90
5.5.180.0000.01110.90
5.5.170.0000.00910.90
5.5.160.0100.00010.90
5.5.150.0080.00410.90
5.5.140.0040.00710.90
5.5.130.0030.00610.90
5.5.120.0040.00710.90
5.5.110.0030.00310.90
5.5.100.0080.00410.90
5.5.90.0070.00010.90
5.5.80.0030.00610.90
5.5.70.0030.00610.94
5.5.60.0110.00010.90
5.5.50.0040.00810.93
5.5.40.0080.00310.90
5.5.30.0040.00410.90
5.5.20.0000.00910.90
5.5.10.0060.00610.90
5.5.00.0030.01010.90
5.4.450.0330.03115.25
5.4.440.0490.03515.22
5.4.430.0450.03015.36
5.4.420.0430.03015.37
5.4.410.0490.02515.31
5.4.400.0470.02715.16
5.4.390.0490.03115.11
5.4.380.0400.03714.98
5.4.370.0470.03215.21
5.4.360.0350.03114.98
5.4.350.0450.03715.16
5.4.340.0460.03315.18
5.4.330.0060.00310.90
5.4.320.0450.03015.24
5.4.310.0500.02315.08
5.4.300.0460.03515.06
5.4.290.0450.03115.11
5.4.280.0470.02614.97
5.4.270.0550.02715.11
5.4.260.0430.02815.07
5.4.250.0490.02715.21
5.4.240.0380.03515.21
5.4.230.0380.03415.14
5.4.220.0400.03415.08
5.4.210.0440.02915.07
5.4.200.0400.03013.97
5.4.190.0430.02814.90
5.4.180.0310.03315.13
5.4.170.0300.03215.11
5.4.160.0050.03515.10
5.4.150.0160.02614.96
5.4.140.0450.02313.80
5.4.130.0350.03613.72
5.4.120.0500.02813.70
5.4.110.0400.03113.66
5.4.100.0470.02713.65
5.4.90.0500.02713.64
5.4.80.0430.02813.68
5.4.70.0520.02313.67
5.4.60.0580.02313.66
5.4.50.0320.03113.72
5.4.40.0450.02813.71
5.4.30.0570.02713.60
5.4.20.0370.03813.70
5.4.10.0480.02813.58
5.4.00.0400.02813.41
5.3.290.0470.03312.76
5.3.280.0500.03312.68
5.3.270.0620.02712.69
5.3.260.0530.03512.65
5.3.250.0430.03112.67
5.3.240.0380.03212.65
5.3.230.0470.03312.74
5.3.220.0380.04012.70
5.3.210.0070.03812.65
5.3.200.0130.02512.66
5.3.190.0290.02712.65
5.3.180.0520.02112.63
5.3.170.0500.02912.72
5.3.160.0450.02612.74
5.3.150.0350.03212.65
5.3.140.0450.03612.64
5.3.130.0430.03712.70
5.3.120.0110.02712.77
5.3.110.0080.03412.66
5.3.100.0200.02512.44
5.3.90.0400.03112.43
5.3.80.0550.03212.45
5.3.70.0400.03812.43
5.3.60.0370.02912.35
5.3.50.0440.03112.41
5.3.40.0350.02812.34
5.3.30.0360.02612.32
5.3.20.0420.03112.26
5.3.10.0350.03312.17
5.3.00.0430.03012.20
5.2.170.0360.02310.92
5.2.160.0430.01810.94
5.2.150.0430.02310.99
5.2.140.0350.02810.94
5.2.130.0380.03010.92
5.2.120.0500.02511.04
5.2.110.0320.02111.02
5.2.100.0280.02310.94
5.2.90.0360.02111.02
5.2.80.0400.02111.01
5.2.70.0320.02810.94
5.2.60.0390.03010.94
5.2.50.0370.02811.04
5.2.40.0300.02110.92
5.2.30.0220.02710.91
5.2.20.0320.02610.87
5.2.10.0270.02510.92
5.2.00.0320.02310.83
5.1.60.0230.02210.38
5.1.50.0230.02110.39
5.1.40.0150.02610.47
5.1.30.0040.02010.66
5.1.20.0130.02110.71
5.1.10.0060.02310.47
5.1.00.0100.02610.56
5.0.50.0200.0199.65
5.0.40.0150.0149.67
5.0.30.0110.0319.58
5.0.20.0210.0169.66
5.0.10.0150.0189.49
5.0.00.0140.0209.60
4.4.90.0130.0128.92
4.4.80.0120.0108.92
4.4.70.0130.0178.92
4.4.60.0100.0158.92
4.4.50.0110.0118.92
4.4.40.0130.0158.92
4.4.30.0080.0138.92
4.4.20.0100.0148.92
4.4.10.0140.0168.92
4.4.00.0150.0188.92
4.3.110.0130.0138.92
4.3.100.0080.0118.92
4.3.90.0150.0178.92
4.3.80.0100.0208.92
4.3.70.0100.0138.92
4.3.60.0100.0128.92
4.3.50.0130.0128.92
4.3.40.0100.0208.92
4.3.30.0050.0138.92
4.3.20.0070.0138.92
4.3.10.0050.0138.92
4.3.00.0080.0109.00

preferences:
79.76 ms | 401 KiB | 5 Q