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 "hi"; print $c['url']; print "hi"; print $c['key']; print $c['id']; ?>

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.0090.00916.75
8.3.50.0120.00621.17
8.3.40.0120.00318.91
8.3.30.0160.00019.17
8.3.20.0040.00420.16
8.3.10.0030.00523.53
8.3.00.0050.00319.50
8.2.180.0040.01116.38
8.2.170.0140.00322.96
8.2.160.0140.00321.03
8.2.150.0070.00725.66
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00422.06
8.2.110.0000.01022.20
8.2.100.0060.00617.63
8.2.90.0040.00419.13
8.2.80.0060.00317.97
8.2.70.0060.00317.63
8.2.60.0000.00917.93
8.2.50.0030.00618.07
8.2.40.0080.00018.34
8.2.30.0060.00318.14
8.2.20.0000.00817.86
8.2.10.0080.00018.04
8.2.00.0000.00717.85
8.1.280.0120.00925.92
8.1.270.0000.00824.66
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0080.00024.02
8.1.230.0060.00617.48
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0040.00417.22
8.1.190.0080.00017.10
8.1.180.0040.00418.10
8.1.170.0040.00418.56
8.1.160.0000.00721.92
8.1.150.0070.00018.93
8.1.140.0000.00817.45
8.1.130.0000.00717.83
8.1.120.0000.00717.44
8.1.110.0000.00817.32
8.1.100.0050.00317.35
8.1.90.0030.00717.39
8.1.80.0070.00017.39
8.1.70.0030.00317.43
8.1.60.0000.00917.45
8.1.50.0000.00817.53
8.1.40.0020.00517.57
8.1.30.0000.00817.56
8.1.20.0080.00017.62
8.1.10.0050.00217.64
8.1.00.0040.00417.53
8.0.300.0070.00018.77
8.0.290.0000.00716.75
8.0.280.0030.00318.38
8.0.270.0070.00017.26
8.0.260.0040.00417.34
8.0.250.0070.00017.00
8.0.240.0060.00016.94
8.0.230.0000.00716.89
8.0.220.0050.00216.96
8.0.210.0040.00316.99
8.0.200.0000.00716.89
8.0.190.0090.00317.02
8.0.180.0000.00816.90
8.0.170.0000.00816.88
8.0.160.0040.00416.88
8.0.150.0040.00416.99
8.0.140.0040.00416.85
8.0.130.0030.00313.39
8.0.120.0000.00816.90
8.0.110.0050.00316.90
8.0.100.0050.00216.94
8.0.90.0040.00416.91
8.0.80.0030.01616.90
8.0.70.0040.00416.85
8.0.60.0070.00016.80
8.0.50.0070.00016.83
8.0.30.0120.01817.09
8.0.20.0120.00917.40
8.0.10.0000.00817.12
8.0.00.0040.01416.73
7.4.330.0020.00215.07
7.4.320.0000.00616.64
7.4.300.0060.00016.53
7.4.290.0030.00316.59
7.4.280.0060.00316.59
7.4.270.0000.00716.66
7.4.260.0040.00416.59
7.4.250.0040.00416.43
7.4.240.0020.00516.61
7.4.230.0070.00016.63
7.4.220.0060.01016.59
7.4.210.0130.00716.70
7.4.200.0000.00716.64
7.4.160.0120.00316.36
7.4.150.0070.01117.40
7.4.140.0140.00817.86
7.4.130.0110.00916.51
7.4.120.0060.01116.51
7.4.110.0130.01016.48
7.4.100.0100.00716.41
7.4.90.0090.00916.60
7.4.80.0150.00319.39
7.4.70.0170.00416.45
7.4.60.0070.01116.60
7.4.50.0050.00316.44
7.4.40.0130.00716.59
7.4.30.0100.00716.43
7.4.00.0070.01115.16
7.3.330.0020.00213.31
7.3.320.0050.00013.34
7.3.310.0060.00016.23
7.3.300.0030.00316.43
7.3.290.0110.00316.39
7.3.280.0090.00816.36
7.3.270.0070.01017.40
7.3.260.0100.00716.44
7.3.250.0090.01216.46
7.3.240.0140.00716.68
7.3.230.0140.00616.59
7.3.210.0060.00916.42
7.3.200.0130.00319.39
7.3.190.0070.01016.43
7.3.180.0030.01516.61
7.3.170.0070.01016.66
7.3.160.0030.01316.48
7.3.10.0030.00616.87
7.3.00.0080.00816.52
7.2.330.0130.00516.89
7.2.320.0040.01416.79
7.2.310.0080.00816.88
7.2.300.0140.00416.82
7.2.290.0160.00616.43
7.2.130.0120.00317.11
7.2.120.0070.01016.90
7.2.110.0070.00716.75
7.2.100.0000.01416.97
7.2.90.0090.00317.02
7.2.80.0060.00617.03
7.2.70.0080.00617.05
7.2.60.0070.00716.86
7.2.50.0140.00416.90
7.2.40.0130.00316.92
7.2.30.0090.00617.14
7.2.20.0000.01016.70
7.2.10.0000.01617.14
7.2.00.0030.00917.00
7.1.250.0030.00915.75
7.1.70.0060.00317.29
7.1.60.0060.01919.11
7.1.50.0040.01516.66
7.1.00.0070.07322.28
7.0.200.0070.00716.51
7.0.140.0070.07021.97
7.0.60.0100.08019.97
7.0.50.0030.08717.91
7.0.40.0130.08320.09
7.0.30.0270.05020.33
7.0.20.0170.04720.30
7.0.10.0200.07020.06
7.0.00.0000.04720.18
5.6.280.0030.07320.91
5.6.210.0000.04320.48
5.6.200.0070.08318.30
5.6.190.0100.08320.52
5.6.180.0270.07720.50
5.6.170.0400.06320.71
5.6.160.0070.04320.43
5.6.150.0070.05718.18
5.6.140.0100.08318.18
5.6.130.0070.03718.28
5.6.120.0170.07721.02
5.6.110.0100.06721.02
5.6.100.0030.08321.11
5.6.90.0130.03320.86
5.6.80.0070.05020.38
5.5.350.4200.04320.41
5.5.340.0130.07017.99
5.5.330.0000.06020.37
5.5.320.0170.06320.34
5.5.310.0330.06020.36
5.5.300.0130.07318.03
5.5.290.0070.05717.98
5.5.280.0170.06720.78
5.5.270.0070.06020.93
5.5.260.0070.03720.87
5.5.250.0130.07320.67
5.5.240.0100.08020.38
5.4.450.0770.05319.43
5.4.440.0730.05719.38
5.4.430.0730.06319.43
5.4.420.0700.00019.68
5.4.410.0670.00019.26
5.4.400.0630.00019.25
5.4.390.0670.00019.06
5.4.380.0630.00019.11
5.4.370.0630.00019.06
5.4.360.0600.00019.07
5.4.350.0670.00019.06
5.4.340.0060.03812.02
5.4.320.0050.03712.50
5.4.310.0100.03312.50
5.4.300.0060.03512.50
5.4.290.0060.04712.50
5.4.280.0080.03512.39
5.4.270.0050.03712.39
5.4.260.0090.03412.39
5.4.250.0090.03512.40
5.4.240.0070.03512.40
5.4.230.0070.03612.39
5.4.220.0050.03712.39
5.4.210.0070.03412.39
5.4.200.0070.03612.39
5.4.190.0100.03412.39
5.4.180.0080.03412.39
5.4.170.0060.03712.40
5.4.160.0070.03412.39
5.4.150.0070.03512.38
5.4.140.0060.04112.07
5.4.130.0060.03612.05
5.4.120.0050.03612.02
5.4.110.0060.03712.01
5.4.100.0070.04412.01
5.4.90.0060.03812.02
5.4.80.0080.04112.02
5.4.70.0050.03412.01
5.4.60.0050.04012.01
5.4.50.0110.03412.00
5.4.40.0070.03212.00
5.4.30.0050.03512.00
5.4.20.0050.03411.99
5.4.10.0050.03412.00
5.4.00.0060.03911.49
5.3.290.0070.03812.80
5.3.280.0040.04612.71
5.3.270.0050.04512.73
5.3.260.0060.03712.72
5.3.250.0060.03612.72
5.3.240.0110.03412.72
5.3.230.0090.03712.71
5.3.220.0100.04012.68
5.3.210.0050.03912.68
5.3.200.0070.04012.68
5.3.190.0060.03712.68
5.3.180.0040.03812.67
5.3.170.0030.03912.67
5.3.160.0070.03512.67
5.3.150.0060.04212.67
5.3.140.0060.04312.66
5.3.130.0040.04012.66
5.3.120.0060.03812.66
5.3.110.0060.03812.66
5.3.100.0050.03612.12
5.3.90.0050.03712.10
5.3.80.0050.03712.10
5.3.70.0070.03512.09
5.3.60.0040.03812.08
5.3.50.0030.03812.02
5.3.40.0070.03412.03
5.3.30.0090.03811.99
5.3.20.0090.03411.77
5.3.10.0020.03911.73
5.3.00.0050.03611.72
5.2.170.0050.0309.22
5.2.160.0060.0299.22
5.2.150.0060.0339.22
5.2.140.0050.0299.21
5.2.130.0040.0299.18
5.2.120.0030.0299.18
5.2.110.0070.0279.19
5.2.100.0050.0299.18
5.2.90.0090.0279.18
5.2.80.0050.0319.18
5.2.70.0050.0309.18
5.2.60.0030.0329.13
5.2.50.0050.0299.11
5.2.40.0040.0329.07
5.2.30.0030.0319.05
5.2.20.0070.0259.05
5.2.10.0070.0258.95
5.2.00.0040.0298.81
5.1.60.0050.0248.10
5.1.50.0040.0318.09
5.1.40.0070.0258.07
5.1.30.0040.0288.42
5.1.20.0050.0268.44
5.1.10.0020.0288.17
5.1.00.0000.0308.16
5.0.50.0030.0216.64
5.0.40.0020.0216.50
5.0.30.0020.0326.32
5.0.20.0050.0186.29
5.0.10.0020.0226.26
5.0.00.0000.0386.26
4.4.90.0050.0144.78
4.4.80.0020.0174.75
4.4.70.0020.0164.75
4.4.60.0040.0144.75
4.4.50.0020.0164.77
4.4.40.0030.0254.71
4.4.30.0010.0174.76
4.4.20.0040.0144.84
4.4.10.0030.0154.85
4.4.00.0010.0274.76
4.3.110.0030.0154.67
4.3.100.0050.0124.66
4.3.90.0010.0164.63
4.3.80.0040.0234.58
4.3.70.0030.0144.63
4.3.60.0020.0154.62
4.3.50.0020.0164.63
4.3.40.0030.0244.54
4.3.30.0010.0173.31
4.3.20.0020.0163.29
4.3.10.0030.0143.24
4.3.00.0100.0277.48

preferences:
45.27 ms | 401 KiB | 5 Q