3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cipher = mcrypt_module_open(MCRYPT_XTEA, '', MCRYPT_MODE_ECB, ''); $result = mcrypt_generic_init($cipher, '1234567890123456', null);

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.0060.01618.21
8.3.50.0140.00621.92
8.3.40.0110.00418.83
8.3.30.0200.00020.34
8.3.20.0000.00818.90
8.3.10.0030.00621.13
8.3.00.0080.00019.68
8.2.180.0150.00316.88
8.2.170.0110.00422.96
8.2.160.0100.00320.53
8.2.150.0080.00024.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0020.00519.64
8.2.110.0000.00920.43
8.2.100.0040.00817.91
8.2.90.0030.00519.09
8.2.80.0080.00017.97
8.2.70.0080.00417.50
8.2.60.0000.00817.93
8.2.50.0030.00618.07
8.2.40.0000.00819.94
8.2.30.0040.00421.14
8.2.20.0050.00217.64
8.2.10.0040.00417.62
8.2.00.0050.00517.67
8.1.280.0140.00025.92
8.1.270.0040.00423.99
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0030.00722.51
8.1.230.0040.00820.88
8.1.220.0040.00418.77
8.1.210.0040.00418.85
8.1.200.0060.00317.22
8.1.190.0080.00017.41
8.1.180.0050.00318.10
8.1.170.0050.00318.50
8.1.160.0000.00718.75
8.1.150.0000.00718.51
8.1.140.0040.00417.17
8.1.130.0050.00317.67
8.1.120.0060.00317.34
8.1.110.0000.00817.29
8.1.100.0000.00717.31
8.1.90.0070.00017.23
8.1.80.0040.00417.29
8.1.70.0000.00717.29
8.1.60.0000.00917.45
8.1.50.0030.00517.45
8.1.40.0000.00717.42
8.1.30.0000.00717.49
8.1.20.0040.00417.58
8.1.10.0000.00817.47
8.1.00.0080.00017.44
8.0.300.0000.00719.98
8.0.290.0040.00416.93
8.0.280.0000.00718.25
8.0.270.0070.00017.20
8.0.260.0000.00616.88
8.0.250.0040.00416.96
8.0.240.0030.00616.96
8.0.230.0070.00016.91
8.0.220.0000.00716.91
8.0.210.0030.00316.95
8.0.200.0000.00616.82
8.0.190.0000.00816.94
8.0.180.0050.00216.96
8.0.170.0040.00416.82
8.0.160.0000.00716.95
8.0.150.0000.00716.84
8.0.140.0000.00716.83
8.0.130.0030.00313.28
8.0.120.0050.00316.71
8.0.110.0040.00416.79
8.0.100.0000.00816.88
8.0.90.0050.00216.95
8.0.80.0100.01116.80
8.0.70.0000.00716.71
8.0.60.0020.00516.84
8.0.50.0040.00416.78
8.0.30.0080.01117.01
8.0.20.0120.00617.40
8.0.10.0000.00816.95
8.0.00.0090.01316.58
7.4.330.0000.00516.78
7.4.320.0030.00316.39
7.4.300.0030.00316.45
7.4.290.0000.00716.52
7.4.280.0050.00216.48
7.4.270.0000.00716.55
7.4.260.0060.00013.32
7.4.250.0040.00416.36
7.4.240.0080.00016.45
7.4.230.0000.00716.44
7.4.220.0120.00616.50
7.4.210.0070.01016.52
7.4.200.0070.00016.56
7.4.190.0000.00716.39
7.4.160.0070.01016.51
7.4.150.0090.00917.40
7.4.140.0080.01117.86
7.4.130.0070.01116.64
7.4.120.0070.00916.41
7.4.110.0060.01216.63
7.4.100.0070.01016.39
7.4.90.0060.01216.38
7.4.80.0070.01019.39
7.4.70.0110.00516.50
7.4.60.0090.00616.59
7.4.50.0000.00816.36
7.4.40.0070.00422.77
7.4.30.0060.00916.44
7.4.00.0040.00814.81
7.3.330.0000.00513.15
7.3.320.0050.00013.05
7.3.310.0030.00316.29
7.3.300.0040.00416.25
7.3.290.0030.01016.23
7.3.280.0060.01016.31
7.3.270.0150.00917.40
7.3.260.0120.01018.24
7.3.250.0070.01016.22
7.3.240.0090.00916.21
7.3.230.0040.01416.46
7.3.210.0070.01016.39
7.3.200.0150.00619.39
7.3.190.0070.01016.36
7.3.180.0130.00716.25
7.3.170.0030.01216.33
7.3.160.0110.00416.24
7.3.120.0070.00314.76
7.3.10.0090.00616.72
7.3.00.0030.01316.36
7.2.330.0130.00316.55
7.2.320.0140.00716.25
7.2.310.0070.01316.56
7.2.300.0040.01216.55
7.2.290.0070.01016.40
7.2.130.0080.00316.60
7.2.120.0080.00816.79
7.2.110.0070.00716.84
7.2.100.0030.00916.43
7.2.90.0100.00316.43
7.2.80.0070.00516.44
7.2.70.0090.00616.46
7.2.60.0070.00716.68
7.2.50.0090.00316.52
7.2.40.0100.00316.85
7.2.30.0060.00916.82
7.2.20.0040.00716.79
7.2.10.0060.00616.87
7.2.00.0050.00818.13
7.1.250.0050.00515.62
7.1.200.0100.00315.67
7.1.100.0040.01118.15
7.1.70.0030.00716.98
7.1.60.0100.01619.24
7.1.50.0000.01216.84
7.1.00.0030.03322.35
7.0.200.0050.00316.65
7.0.140.0030.07322.18
7.0.100.0000.04719.96
7.0.90.0030.03319.95
7.0.80.0000.04719.97
7.0.70.0070.03719.92
7.0.60.0130.04019.77
7.0.50.0030.03720.39
7.0.40.0030.03720.07
7.0.30.0030.04020.18
7.0.20.0130.03320.14
7.0.10.0130.02720.14
7.0.00.0000.04020.21
5.6.280.0000.07720.89
5.6.250.0030.03720.55
5.6.240.0100.05020.63
5.6.230.0130.03320.66
5.6.220.0130.04320.64
5.6.210.0030.06020.60
5.6.200.0170.06321.07
5.6.190.0000.03721.02
5.6.180.0070.04021.11
5.6.170.0070.04021.11
5.6.160.0030.04021.13
5.6.150.0000.04021.00
5.6.140.0070.03021.19
5.6.130.0030.03721.03
5.6.120.0130.04721.11
5.6.110.0000.04321.16
5.6.100.0100.06721.19
5.6.90.0170.05321.15
5.6.80.0100.08020.58
5.6.70.0030.04320.38
5.6.60.0070.08320.43
5.6.50.0000.04720.55
5.6.40.0130.03720.47
5.6.30.0000.04720.42
5.6.20.0130.07020.38
5.6.10.0070.08020.41
5.6.00.0000.04320.46
5.5.380.0100.03020.44
5.5.370.0070.04720.50
5.5.360.0070.04020.34
5.5.350.0030.03320.41
5.5.340.0000.03720.87
5.5.330.0100.04020.99
5.5.320.0070.04020.95
5.5.310.0030.04020.99
5.5.300.0030.03720.83
5.5.290.0100.03320.79
5.5.280.0030.04720.84
5.5.270.0030.03720.88
5.5.260.0200.07020.96
5.5.250.0130.04320.80
5.5.240.0070.05320.21
5.5.230.0200.06020.25
5.5.220.0070.04020.31
5.5.210.0170.07320.32
5.5.200.0070.06020.24
5.5.190.0130.07320.18
5.5.180.0070.08020.17
5.5.160.0100.07020.30
5.5.150.0070.07720.18
5.5.140.0030.06320.31
5.5.130.0070.06720.21
5.5.120.0270.03320.23
5.5.110.0130.04020.17
5.5.100.0070.04720.14
5.5.90.0000.04320.21
5.5.80.0130.06720.21
5.5.70.0030.08320.16
5.5.60.0130.07020.11
5.5.50.0030.08320.11
5.5.40.0130.06020.11
5.5.30.0130.06020.09
5.5.20.0070.04720.20
5.5.10.0130.03320.11
5.5.00.0030.06020.14
5.4.450.0000.04019.18
5.4.440.0130.07019.30
5.4.430.0030.04019.39
5.4.420.0070.04719.49
5.4.410.0000.08319.32
5.4.400.0130.06719.03
5.4.390.0070.03318.85
5.4.380.0070.07319.11
5.4.370.0230.03019.07
5.4.360.0000.07019.10
5.4.350.0100.07318.99
5.4.340.0070.07718.97
5.4.320.0100.06319.05
5.4.310.0170.07019.09
5.4.300.0170.06719.09
5.4.290.0100.07319.09
5.4.280.0070.03719.17
5.4.270.0030.08318.88
5.4.260.0030.07318.84
5.4.250.0070.04018.94
5.4.240.0200.03318.84
5.4.230.0170.03319.16
5.4.220.0130.06018.84
5.4.210.0100.07018.90
5.4.200.0070.07018.88
5.4.190.0130.07019.05
5.4.180.0070.06319.16
5.4.170.0070.03719.06
5.4.160.0070.06719.03
5.4.150.0000.08018.88
5.4.140.0030.07716.41
5.4.130.0130.05716.36
5.4.120.0030.04016.38
5.4.110.0030.05316.46
5.4.100.0130.06316.28
5.4.90.0000.05016.45
5.4.80.0070.07016.36
5.4.70.0100.07316.38
5.4.60.0030.08016.31
5.4.50.0030.04016.39
5.4.40.0100.04016.50
5.4.30.0070.05316.38
5.4.20.0070.03716.25
5.4.10.0070.07016.45
5.4.00.0100.04715.60
5.3.290.0170.06714.61
5.3.280.0000.09014.52
5.3.270.0100.03714.43
5.3.260.0070.06714.46
5.3.250.0100.07014.48
5.3.240.0070.05314.59
5.3.230.0000.08014.45
5.3.220.0070.06714.52
5.3.210.0030.04314.47
5.3.200.0070.06014.57
5.3.190.0130.03314.51
5.3.180.0100.06714.42
5.3.170.0070.06714.39
5.3.160.0100.05714.39
5.3.150.0000.07314.50
5.3.140.0000.06014.38
5.3.130.0100.07314.55
5.3.120.0100.06314.40
5.3.110.0170.05014.41
5.3.100.0030.05313.99
5.3.90.0130.03313.89
5.3.80.0100.07013.79
5.3.70.0030.07313.99
5.3.60.0000.06013.86
5.3.50.0100.03013.91
5.3.40.0030.06313.90
5.3.30.0030.03013.89
5.3.20.0100.04713.63
5.3.10.0030.03313.52
5.3.00.0030.07313.64
5.2.170.0070.05010.93
5.2.160.0030.04711.10
5.2.150.0070.02311.14
5.2.140.0100.05711.20
5.2.130.0030.02711.13
5.2.120.0030.06010.95
5.2.110.0100.02010.96
5.2.100.0070.05311.04
5.2.90.0030.06011.04
5.2.80.0030.02711.14
5.2.70.0030.07011.14
5.2.60.0070.03010.86
5.2.50.0000.06710.83
5.2.40.0070.06010.81
5.2.30.0000.05310.96
5.2.20.0030.06310.82
5.2.10.0100.03710.88
5.2.00.0030.03310.63
5.1.60.0030.05010.48
5.1.50.0070.02310.48
5.1.40.0030.02710.48
5.1.30.0030.02010.48
5.1.20.0100.05010.48
5.1.10.0030.05010.48
5.1.00.0000.03010.48
5.0.50.0000.04310.48
5.0.40.0030.03010.48
5.0.30.0130.05010.48
5.0.20.0000.02310.48
5.0.10.0030.04310.48
5.0.00.0030.06310.48
4.4.90.0000.02010.48
4.4.80.0000.03310.48
4.4.70.0000.01310.48
4.4.60.0000.01310.48
4.4.50.0000.03710.48
4.4.40.0000.04010.48
4.4.30.0000.01710.48
4.4.20.0000.02710.48
4.4.10.0000.01310.48
4.4.00.0070.05010.48
4.3.110.0030.01710.48
4.3.100.0030.01310.48
4.3.90.0070.03010.48
4.3.80.0000.04010.48
4.3.70.0000.01710.48
4.3.60.0030.03010.48
4.3.50.0000.02710.48
4.3.40.0070.04010.48
4.3.30.0030.02010.48
4.3.20.0000.03010.48
4.3.10.0000.02010.48
4.3.00.0000.02310.48

preferences:
34.14 ms | 401 KiB | 5 Q