3v4l.org

run code in 300+ PHP versions simultaneously
<?php function string_cpt($String, $Password) { $Salt = 'dBQYH'; $StrLen = strlen($String); $Seq = $Password; $Gamma = ''; while (strlen($Gamma) < $StrLen) { $Seq = pack('H*', sha1($Gamma . $Seq . $Salt)); $Gamma .= substr($Seq, 0, 8); } return $String ^ $Gamma; } $cfg = 'B1/HhLYpkkep/3HxrJKaJVM5u/F2y8fF5lsQBM10QIyInDaAOLL4jNzQhyU8lU7LwC7H5veuPoMUsv5jRAMRiTLEn63lNSjtwjTBwb0tNBDHyzJP6R9o/XJukfx70KPhLgofPErYe7XgUO0rtp9VNxnDgvTH+Qb85oyPu3m9czJAlqLEnQwwDlhJaAmXLC9NtYLkwoUhpM2bscIEdPOCYloot8cunEBBZmtFcbtporWLuHhzfPb5XimzGzwL6emNaqRqjQ=='; $key = 'rK4PhY'; $c = unserialize(string_cpt(base64_decode($cfg), $key)); print "$c"; ?>

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.0100.01017.00
8.3.50.0130.00621.15
8.3.40.0070.01018.84
8.3.30.0100.01019.05
8.3.20.0070.00020.30
8.3.10.0080.00021.90
8.3.00.0040.00419.25
8.2.180.0120.00616.75
8.2.170.0140.00322.96
8.2.160.0070.01020.57
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0100.00722.24
8.2.110.0030.00622.31
8.2.100.0040.00718.22
8.2.90.0040.00419.18
8.2.80.0060.00317.97
8.2.70.0040.00417.63
8.2.60.0060.00318.03
8.2.50.0060.00318.07
8.2.40.0030.00520.07
8.2.30.0040.00418.18
8.2.20.0000.00717.69
8.2.10.0070.00018.19
8.2.00.0040.00417.73
8.1.280.0120.00325.92
8.1.270.0030.00622.14
8.1.260.0030.00626.35
8.1.250.0070.00028.09
8.1.240.0100.00023.82
8.1.230.0080.00419.15
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0030.00617.25
8.1.190.0030.00617.10
8.1.180.0000.00718.10
8.1.170.0080.00018.38
8.1.160.0000.00721.98
8.1.150.0070.00018.88
8.1.140.0030.00617.46
8.1.130.0000.00717.89
8.1.120.0000.00717.39
8.1.110.0040.00417.43
8.1.100.0040.00417.52
8.1.90.0090.00017.47
8.1.80.0040.00417.44
8.1.70.0000.00817.42
8.1.60.0080.00017.60
8.1.50.0030.00517.56
8.1.40.0000.00917.41
8.1.30.0000.00817.55
8.1.20.0000.00817.73
8.1.10.0050.00317.52
8.1.00.0040.00417.39
8.0.300.0080.00018.77
8.0.290.0080.00016.75
8.0.280.0070.00018.51
8.0.270.0070.00017.31
8.0.260.0030.00317.27
8.0.250.0030.00317.04
8.0.240.0030.00317.02
8.0.230.0050.00317.08
8.0.220.0070.00016.93
8.0.210.0030.00316.99
8.0.200.0000.00617.07
8.0.190.0110.00017.05
8.0.180.0000.00716.88
8.0.170.0030.00616.88
8.0.160.0000.00716.95
8.0.150.0040.00416.90
8.0.140.0050.00216.80
8.0.130.0030.00313.32
8.0.120.0000.00816.98
8.0.110.0000.00716.92
8.0.100.0040.00416.91
8.0.90.0000.00816.88
8.0.80.0140.00716.89
8.0.70.0040.00416.82
8.0.60.0040.00416.85
8.0.50.0030.00516.85
8.0.30.0110.00917.11
8.0.20.0090.01117.40
8.0.10.0080.00016.98
8.0.00.0080.01016.73
7.4.330.0050.00015.09
7.4.320.0000.00616.57
7.4.300.0000.00616.62
7.4.290.0080.00016.60
7.4.280.0070.00016.60
7.4.270.0000.00716.60
7.4.260.0030.00316.57
7.4.250.0000.00716.58
7.4.240.0000.00716.54
7.4.230.0030.00316.71
7.4.220.0070.01016.62
7.4.210.0070.01116.54
7.4.200.0000.00716.72
7.4.160.0100.00516.68
7.4.150.0060.01317.40
7.4.140.0130.00817.86
7.4.130.0120.00716.58
7.4.120.0080.01016.57
7.4.110.0100.01416.33
7.4.100.0140.00716.59
7.4.90.0070.01016.49
7.4.80.0070.01019.39
7.4.70.0090.00916.52
7.4.60.0110.00716.55
7.4.50.0000.00516.65
7.4.40.0100.00716.66
7.4.30.0000.01916.45
7.4.00.0090.00614.98
7.3.330.0060.00013.46
7.3.320.0050.00013.46
7.3.310.0060.00316.40
7.3.300.0000.00716.31
7.3.290.0060.00816.43
7.3.280.0070.00916.42
7.3.270.0060.01217.40
7.3.260.0090.00916.50
7.3.250.0100.01016.59
7.3.240.0120.00616.64
7.3.230.0160.00816.39
7.3.210.0160.00016.55
7.3.200.0180.00019.39
7.3.190.0120.00916.37
7.3.180.0060.01316.68
7.3.170.0140.00716.66
7.3.160.0140.00716.21
7.2.330.0150.00316.81
7.2.320.0060.01516.81
7.2.310.0000.02016.61
7.2.300.0170.00716.65
7.2.290.0110.00716.47
7.2.00.0000.01119.19
7.1.100.0080.00317.75
7.1.70.0040.00417.19
7.1.60.0180.00619.11
7.1.50.0150.00316.73
7.1.00.0030.07722.27
7.0.200.0090.00916.84
7.0.140.0070.07322.07
7.0.60.0030.09019.91
7.0.50.0070.08017.90
7.0.40.0070.04720.24
7.0.30.0230.05320.23
7.0.20.0270.08020.19
7.0.10.0100.07320.30
7.0.00.0130.04020.25
5.6.280.0100.06321.09
5.6.210.0130.08320.55
5.6.200.0100.07318.29
5.6.190.0070.08720.77
5.6.180.0270.03720.42
5.6.170.1230.04320.55
5.6.160.0170.06020.45
5.6.150.0170.06718.19
5.6.140.0070.05018.23
5.6.130.0070.09018.23
5.6.120.0130.04020.94
5.6.110.0070.07021.11
5.6.100.0000.04321.13
5.6.90.0070.07720.97
5.6.80.0070.08020.29
5.5.350.0100.04720.29
5.5.340.0070.07717.95
5.5.330.0070.05720.21
5.5.320.0370.08020.27
5.5.310.0400.06720.27
5.5.300.0070.08018.01
5.5.290.0100.03317.99
5.5.280.0230.06720.80
5.5.270.0070.08320.75
5.5.260.0200.07720.73
5.5.250.0000.08720.47
5.5.240.0170.07720.27
5.4.450.0230.04719.46
5.4.440.0830.06019.17
5.4.430.0170.05019.16
5.4.420.0670.00019.38
5.4.410.0630.00019.44
5.4.400.0630.00019.22
5.4.390.0630.00019.14
5.4.380.0670.00019.11
5.4.370.0600.00019.13
5.4.360.0630.00019.18
5.4.350.0670.00019.13
5.4.340.0010.03912.02
5.4.320.0050.03812.50
5.4.310.0040.04312.50
5.4.300.0100.03912.51
5.4.290.0090.07012.50
5.4.280.0080.04512.39
5.4.270.0080.04712.39
5.4.260.0090.04912.40
5.4.250.0070.05212.39
5.4.240.0120.04612.40
5.4.230.0060.04412.39
5.4.220.0090.03912.39
5.4.210.0070.04212.39
5.4.200.0060.05112.39
5.4.190.0080.04212.39
5.4.180.0090.03512.38
5.4.170.0110.04512.39
5.4.160.0080.04012.39
5.4.150.0050.03812.39
5.4.140.0040.04012.07
5.4.130.0090.03312.06
5.4.120.0110.05212.02
5.4.110.0090.04012.02
5.4.100.0080.04312.01
5.4.90.0090.04912.01
5.4.80.0240.05112.01
5.4.70.0090.04912.01
5.4.60.0080.03412.01
5.4.50.0060.04012.00
5.4.40.0090.04612.00
5.4.30.0070.04812.00
5.4.20.0070.04811.99
5.4.10.0070.03411.99
5.4.00.0040.03811.49
5.3.290.0130.05112.80
5.3.280.0170.04612.71
5.3.270.0160.04712.73
5.3.260.0080.04512.72
5.3.250.0120.04812.72
5.3.240.0030.04412.72
5.3.230.0060.03812.71
5.3.220.0080.03612.68
5.3.210.0040.04212.68
5.3.200.0080.03912.68
5.3.190.0050.04112.68
5.3.180.0070.04312.67
5.3.170.0050.03712.67
5.3.160.0060.03712.67
5.3.150.0070.04112.67
5.3.140.0050.03812.66
5.3.130.0060.04112.66
5.3.120.0070.03912.66
5.3.110.0030.04112.66
5.3.100.0050.03812.13
5.3.90.0040.03712.10
5.3.80.0070.03512.09
5.3.70.0030.03812.10
5.3.60.0060.03812.08
5.3.50.0020.04212.03
5.3.40.0110.03112.03
5.3.30.0040.03811.98
5.3.20.0050.03611.77
5.3.10.0060.03511.73
5.3.00.0080.03911.72
5.2.170.0090.0299.22
5.2.160.0090.0309.22
5.2.150.0150.0399.22
5.2.140.0090.0319.21
5.2.130.0060.0309.18
5.2.120.0060.0279.18
5.2.110.0050.0309.19
5.2.100.0080.0279.18
5.2.90.0060.0369.18
5.2.80.0050.0369.18
5.2.70.0030.0339.18
5.2.60.0060.0299.13
5.2.50.0040.0319.10
5.2.40.0060.0279.08
5.2.30.0050.0309.05
5.2.20.0040.0299.04
5.2.10.0040.0298.95
5.2.00.0070.0298.81
5.1.60.0040.0238.09
5.1.50.0050.0258.09
5.1.40.0080.0228.07
5.1.30.0050.0258.42
5.1.20.0040.0268.44
5.1.10.0030.0278.17
5.1.00.0060.0278.16
5.0.50.0050.0196.64
5.0.40.0070.0166.50
5.0.30.0030.0336.32
5.0.20.0040.0206.28
5.0.10.0030.0216.26
5.0.00.0050.0286.25
4.4.90.0030.0154.78
4.4.80.0020.0154.76
4.4.70.0000.0184.75
4.4.60.0010.0174.75
4.4.50.0020.0164.77
4.4.40.0010.0304.70
4.4.30.0010.0174.76
4.4.20.0040.0154.84
4.4.10.0030.0154.85
4.4.00.0030.0254.76
4.3.110.0010.0184.67
4.3.100.0010.0164.67
4.3.90.0010.0164.63
4.3.80.0040.0234.59
4.3.70.0020.0154.63
4.3.60.0030.0154.63
4.3.50.0030.0154.63
4.3.40.0020.0284.54
4.3.30.0010.0223.30
4.3.20.0010.0173.28
4.3.10.0020.0163.25
4.3.00.0100.0237.51

preferences:
52.71 ms | 400 KiB | 5 Q