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)); foreach($c as $child) { echo $child . "\n"; } print $c['url']; ?>

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.00716.35
8.3.50.0110.00821.34
8.3.40.0070.01019.02
8.3.30.0100.00619.12
8.3.20.0070.00020.16
8.3.10.0040.00423.65
8.3.00.0080.00019.25
8.2.180.0090.00916.38
8.2.170.0110.00422.96
8.2.160.0100.00320.52
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00019.89
8.2.110.0030.00622.20
8.2.100.0060.00617.75
8.2.90.0080.00019.21
8.2.80.0040.00417.97
8.2.70.0030.00717.63
8.2.60.0060.00318.05
8.2.50.0040.00418.07
8.2.40.0040.00418.22
8.2.30.0040.00418.20
8.2.20.0030.00617.66
8.2.10.0040.00418.00
8.2.00.0000.00717.74
8.1.280.0110.00425.92
8.1.270.0060.00322.07
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00723.98
8.1.230.0030.00917.48
8.1.220.0080.00017.78
8.1.210.0040.00418.77
8.1.200.0060.00317.22
8.1.190.0050.00317.25
8.1.180.0030.00518.10
8.1.170.0040.00418.64
8.1.160.0050.00322.07
8.1.150.0000.00718.80
8.1.140.0040.00417.37
8.1.130.0030.00317.70
8.1.120.0040.00417.36
8.1.110.0030.00517.41
8.1.100.0020.00517.38
8.1.90.0000.01017.35
8.1.80.0050.00217.32
8.1.70.0070.00017.38
8.1.60.0030.00617.53
8.1.50.0040.00417.59
8.1.40.0000.00717.52
8.1.30.0050.00317.56
8.1.20.0000.00717.62
8.1.10.0000.00817.54
8.1.00.0000.00817.43
8.0.300.0050.00218.77
8.0.290.0040.00416.75
8.0.280.0070.00018.53
8.0.270.0030.00517.14
8.0.260.0070.00017.23
8.0.250.0030.00317.03
8.0.240.0060.00017.03
8.0.230.0030.00317.02
8.0.220.0050.00216.94
8.0.210.0000.00817.01
8.0.200.0030.00316.89
8.0.190.0000.00917.07
8.0.180.0060.00316.95
8.0.170.0000.00816.98
8.0.160.0040.00416.93
8.0.150.0000.00816.81
8.0.140.0040.00416.93
8.0.130.0060.00013.40
8.0.120.0000.00816.93
8.0.110.0040.00416.92
8.0.100.0050.00217.00
8.0.90.0050.00216.83
8.0.80.0060.00916.92
8.0.70.0000.00717.06
8.0.60.0040.00416.89
8.0.50.0070.00016.83
8.0.30.0160.01117.16
8.0.20.0050.01617.40
8.0.10.0040.00417.09
8.0.00.0080.01216.67
7.4.330.0000.00515.05
7.4.320.0030.00316.57
7.4.300.0060.00016.60
7.4.290.0040.00416.52
7.4.280.0000.00716.49
7.4.270.0000.00716.48
7.4.260.0000.00816.39
7.4.250.0040.00416.43
7.4.240.0030.00516.53
7.4.230.0030.00516.63
7.4.220.0070.01116.71
7.4.210.0070.01416.44
7.4.200.0030.00316.60
7.4.160.0070.01016.43
7.4.150.0130.00617.40
7.4.140.0120.01217.86
7.4.130.0110.01116.54
7.4.120.0130.00316.52
7.4.110.0070.01116.42
7.4.100.0190.00016.45
7.4.90.0040.01516.63
7.4.80.0130.01019.39
7.4.70.0070.01016.58
7.4.60.0090.01516.64
7.4.50.0030.00516.62
7.4.40.0080.00816.59
7.4.30.0070.01116.36
7.4.00.0100.00615.05
7.3.330.0000.00613.48
7.3.320.0000.00513.23
7.3.310.0080.00016.38
7.3.300.0030.00316.20
7.3.290.0070.01016.40
7.3.280.0070.00716.33
7.3.270.0100.00717.40
7.3.260.0130.00316.50
7.3.250.0090.01216.55
7.3.240.0090.00916.35
7.3.230.0100.00716.39
7.3.210.0090.00916.52
7.3.200.0060.01219.39
7.3.190.0030.01216.39
7.3.180.0030.01316.57
7.3.170.0050.01016.46
7.3.160.0120.00816.47
7.2.330.0120.00616.64
7.2.320.0120.00616.81
7.2.310.0170.01016.57
7.2.300.0160.00016.78
7.2.290.0130.01216.82
7.2.00.0000.01619.43
7.1.100.0040.00817.80
7.1.70.0030.00517.34
7.1.60.0090.01519.11
7.1.50.0070.01616.70
7.1.00.0070.07322.37
7.0.200.0000.00816.89
7.0.140.0030.07321.96
7.0.60.0000.05319.94
7.0.50.0070.06717.90
7.0.40.0100.08320.24
7.0.30.0330.07720.11
7.0.20.0270.07720.30
7.0.10.0070.06720.10
7.0.00.0070.05020.23
5.6.280.0030.07021.11
5.6.210.0070.05020.51
5.6.200.0030.04018.12
5.6.190.0000.05720.67
5.6.180.0370.06320.77
5.6.170.1000.04720.55
5.6.160.0030.04720.71
5.6.150.0130.07018.14
5.6.140.0100.07018.21
5.6.130.0030.06318.14
5.6.120.0000.04321.10
5.6.110.0130.07721.15
5.6.100.0030.09020.98
5.6.90.0070.07021.13
5.6.80.0030.06720.52
5.5.350.0070.03320.40
5.5.340.0130.08017.98
5.5.330.0130.08020.35
5.5.320.0370.04720.36
5.5.310.0230.06320.36
5.5.300.0100.03718.08
5.5.290.0070.04017.93
5.5.280.0070.08020.95
5.5.270.0030.09020.83
5.5.260.0070.07720.87
5.5.250.0070.05020.66
5.5.240.0200.03720.19
5.4.450.0430.06019.46
5.4.440.0130.05319.47
5.4.430.0900.05319.58
5.4.420.0670.00019.37
5.4.410.0730.00019.36
5.4.400.0700.00019.09
5.4.390.0630.00019.16
5.4.380.0670.00019.13
5.4.370.0670.00019.14
5.4.360.0600.00019.09
5.4.350.0670.00019.16
5.4.340.0060.03412.02
5.4.320.0070.03812.50
5.4.310.0080.03612.50
5.4.300.0050.04512.50
5.4.290.0100.04112.50
5.4.280.0070.03712.40
5.4.270.0080.03712.40
5.4.260.0070.03812.40
5.4.250.0080.04612.40
5.4.240.0080.03712.40
5.4.230.0060.04512.39
5.4.220.0060.03512.39
5.4.210.0060.03412.39
5.4.200.0050.03812.39
5.4.190.0060.03712.38
5.4.180.0110.03012.39
5.4.170.0020.03812.39
5.4.160.0050.03612.39
5.4.150.0130.03312.39
5.4.140.0060.03712.07
5.4.130.0060.03612.06
5.4.120.0070.03412.02
5.4.110.0070.03512.01
5.4.100.0090.03112.01
5.4.90.0050.03612.02
5.4.80.0060.03612.02
5.4.70.0030.03712.01
5.4.60.0040.04012.01
5.4.50.0020.03812.01
5.4.40.0060.03412.00
5.4.30.0040.03711.99
5.4.20.0040.03611.99
5.4.10.0040.03612.00
5.4.00.0060.03411.49
5.3.290.0080.03612.80
5.3.280.0040.03812.71
5.3.270.0060.03812.72
5.3.260.0080.04312.72
5.3.250.0040.03812.72
5.3.240.0060.03912.72
5.3.230.0060.04712.71
5.3.220.0050.03812.68
5.3.210.0090.03912.68
5.3.200.0040.03712.68
5.3.190.0080.03412.68
5.3.180.0090.03812.68
5.3.170.0080.03812.67
5.3.160.0050.04412.67
5.3.150.0040.03912.68
5.3.140.0070.04412.66
5.3.130.0080.04212.66
5.3.120.0110.04412.66
5.3.110.0070.03712.66
5.3.100.0110.03612.12
5.3.90.0050.03812.10
5.3.80.0040.04012.10
5.3.70.0100.03912.09
5.3.60.0060.03612.08
5.3.50.0050.03812.03
5.3.40.0060.03712.02
5.3.30.0050.03611.99
5.3.20.0040.03711.77
5.3.10.0060.03411.73
5.3.00.0040.03811.72
5.2.170.0060.0289.22
5.2.160.0030.0309.22
5.2.150.0020.0369.22
5.2.140.0050.0309.21
5.2.130.0030.0319.18
5.2.120.0050.0309.18
5.2.110.0070.0329.19
5.2.100.0060.0289.18
5.2.90.0080.0279.18
5.2.80.0040.0299.18
5.2.70.0050.0319.18
5.2.60.0040.0299.13
5.2.50.0070.0299.10
5.2.40.0040.0349.08
5.2.30.0050.0289.05
5.2.20.0070.0279.04
5.2.10.0040.0288.96
5.2.00.0060.0278.81
5.1.60.0020.0258.09
5.1.50.0040.0248.09
5.1.40.0040.0258.07
5.1.30.0050.0258.42
5.1.20.0050.0258.44
5.1.10.0060.0238.17
5.1.00.0030.0288.17
5.0.50.0020.0226.65
5.0.40.0050.0196.51
5.0.30.0020.0326.32
5.0.20.0060.0166.29
5.0.10.0020.0326.27
5.0.00.0010.0326.25
4.4.90.0050.0204.77
4.4.80.0020.0174.75
4.4.70.0040.0144.76
4.4.60.0020.0164.75
4.4.50.0020.0164.77
4.4.40.0040.0244.71
4.4.30.0050.0224.76
4.4.20.0070.0184.85
4.4.10.0050.0144.85
4.4.00.0020.0294.76
4.3.110.0040.0144.67
4.3.100.0050.0184.67
4.3.90.0020.0154.63
4.3.80.0030.0234.58
4.3.70.0040.0134.63
4.3.60.0010.0164.63
4.3.50.0030.0154.63
4.3.40.0040.0224.54
4.3.30.0040.0133.31
4.3.20.0020.0163.29
4.3.10.0020.0153.25
4.3.00.0300.0237.51

preferences:
40.67 ms | 401 KiB | 5 Q