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']; 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.40.0120.00318.71
8.3.30.0080.00819.23
8.3.20.0070.00020.16
8.3.10.0040.00423.56
8.3.00.0040.00419.50
8.2.170.0070.00722.96
8.2.160.0040.01120.55
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0040.00422.19
8.2.110.0060.00319.33
8.2.100.0040.00717.91
8.2.90.0000.00819.26
8.2.80.0030.00517.97
8.2.70.0080.00017.63
8.2.60.0030.00518.05
8.2.50.0140.00418.07
8.2.40.0080.00020.07
8.2.30.0000.00718.14
8.2.20.0050.00217.73
8.2.10.0000.00718.13
8.2.00.0040.00417.78
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00022.26
8.1.230.0080.00418.83
8.1.220.0000.00917.74
8.1.210.0050.00318.77
8.1.200.0100.00017.35
8.1.190.0090.00017.35
8.1.180.0040.00418.10
8.1.170.0000.00818.55
8.1.160.0070.00021.93
8.1.150.0040.00418.96
8.1.140.0050.00217.46
8.1.130.0040.00417.75
8.1.120.0070.00017.45
8.1.110.0040.00417.54
8.1.100.0050.00317.43
8.1.90.0090.00017.48
8.1.80.0030.00517.43
8.1.70.0030.00317.46
8.1.60.0000.00917.55
8.1.50.0030.00617.56
8.1.40.0040.00417.52
8.1.30.0040.00417.67
8.1.20.0030.00517.57
8.1.10.0030.00517.61
8.1.00.0030.00617.54
8.0.300.0000.00720.08
8.0.290.0050.00316.75
8.0.280.0070.00018.46
8.0.270.0000.00717.26
8.0.260.0080.00017.26
8.0.250.0060.00017.05
8.0.240.0000.00617.07
8.0.230.0030.00317.05
8.0.220.0000.00716.85
8.0.210.0040.00417.00
8.0.200.0000.00616.94
8.0.190.0060.00616.97
8.0.180.0000.00716.91
8.0.170.0040.00416.90
8.0.160.0030.00316.86
8.0.150.0000.00716.92
8.0.140.0000.00716.82
8.0.130.0000.00713.36
8.0.120.0040.00416.96
8.0.110.0070.00016.99
8.0.100.0040.00416.98
8.0.90.0070.00016.88
8.0.80.0030.01217.01
8.0.70.0040.00416.86
8.0.60.0000.00717.00
8.0.50.0080.00016.89
8.0.30.0070.01617.22
8.0.20.0090.01317.40
8.0.10.0050.00316.87
8.0.00.0060.01116.95
7.4.330.0000.00515.20
7.4.320.0000.00616.43
7.4.300.0000.00616.56
7.4.290.0000.00716.54
7.4.280.0000.00816.50
7.4.270.0070.00016.54
7.4.260.0000.00716.41
7.4.250.0000.00816.57
7.4.240.0040.00416.52
7.4.230.0030.00516.26
7.4.220.0090.01116.65
7.4.210.0060.00916.68
7.4.200.0030.00316.42
7.4.160.0120.00416.80
7.4.150.0110.00817.40
7.4.140.0110.01117.86
7.4.130.0120.00716.65
7.4.120.0110.00816.35
7.4.110.0090.00916.41
7.4.100.0170.00316.63
7.4.90.0090.00916.47
7.4.80.0060.01319.39
7.4.70.0110.01216.48
7.4.60.0070.01116.58
7.4.50.0000.00816.38
7.4.40.0160.00416.57
7.4.30.0120.00316.58
7.4.00.0090.00715.10
7.3.330.0000.00613.18
7.3.320.0060.00013.25
7.3.310.0070.00016.23
7.3.300.0040.00416.38
7.3.290.0050.01016.39
7.3.280.0070.00916.39
7.3.270.0130.00517.40
7.3.260.0080.00816.39
7.3.250.0050.01516.43
7.3.240.0180.00916.67
7.3.230.0090.00916.39
7.3.210.0100.00716.52
7.3.200.0160.00619.39
7.3.190.0180.00016.42
7.3.180.0090.00616.34
7.3.170.0120.00316.33
7.3.160.0140.00316.73
7.3.120.0060.01314.98
7.3.110.0090.00714.87
7.3.100.0040.01214.66
7.3.90.0040.01114.72
7.3.80.0100.00315.00
7.3.70.0120.00314.89
7.3.60.0000.01514.94
7.3.50.0120.00314.98
7.3.40.0070.00714.75
7.3.30.0130.00014.77
7.3.20.0000.01516.52
7.3.10.0000.01616.66
7.3.00.0040.00816.73
7.2.330.0110.00716.59
7.2.320.0050.01416.81
7.2.310.0150.00016.61
7.2.300.0080.00816.44
7.2.290.0060.01216.80
7.2.250.0060.00614.86
7.2.240.0030.01515.02
7.2.230.0070.00715.23
7.2.220.0070.01015.05
7.2.210.0100.00315.02
7.2.200.0030.01314.98
7.2.190.0000.01115.05
7.2.180.0070.01014.91
7.2.170.0080.00415.05
7.1.330.0120.00315.97
7.1.320.0080.00815.83
7.1.310.0000.01615.69
7.1.300.0110.00315.65
7.1.290.0040.01215.88
7.1.280.0030.01015.88
7.1.270.0090.00315.57
7.1.260.0030.00915.71
7.1.70.0050.00217.25
7.1.60.0140.01019.11
7.1.50.0060.01517.00
7.1.00.0100.07022.52
7.0.200.0030.00516.68
7.0.140.0130.06322.01
7.0.60.0130.08019.87
7.0.50.0100.06017.91
7.0.40.0030.05720.23
7.0.30.0270.04020.23
7.0.20.0300.05020.23
7.0.10.0070.04720.06
7.0.00.0100.06320.23
5.6.280.0100.07020.78
5.6.210.0030.04020.61
5.6.200.0030.09018.19
5.6.190.0000.04720.50
5.6.180.0270.07320.50
5.6.170.0170.04320.51
5.6.160.0130.07020.48
5.6.150.0070.04318.18
5.6.140.0100.08318.26
5.6.130.0070.03718.18
5.6.120.0170.08021.00
5.6.110.0130.08721.12
5.6.100.0070.08321.13
5.6.90.0030.07321.04
5.6.80.0070.08020.36
5.5.350.3700.04320.46
5.5.340.0200.07718.09
5.5.330.0100.08020.27
5.5.320.0230.05720.24
5.5.310.0270.05020.34
5.5.300.0070.05317.98
5.5.290.0100.08317.97
5.5.280.0030.04720.65
5.5.270.0000.07320.80
5.5.260.0070.03720.87
5.5.250.0100.07020.59
5.5.240.0200.07020.26
5.4.450.0500.06719.38
5.4.440.0970.07019.61
5.4.430.0700.05719.58
5.4.420.0670.00019.21
5.4.410.0870.00019.31
5.4.400.0870.00019.06
5.4.390.0600.00019.09
5.4.380.0630.00019.21
5.4.370.0870.00019.25
5.4.360.0630.00019.06
5.4.350.0670.00019.07
5.4.340.0070.03312.02
5.4.320.0060.03612.50
5.4.310.0090.03912.50
5.4.300.0090.03312.50
5.4.290.0060.03812.50
5.4.280.0070.03512.40
5.4.270.0100.03612.40
5.4.260.0080.04112.40
5.4.250.0060.03712.40
5.4.240.0100.03412.39
5.4.230.0050.03912.39
5.4.220.0020.04012.39
5.4.210.0100.04312.39
5.4.200.0040.03912.39
5.4.190.0050.03612.39
5.4.180.0080.03712.39
5.4.170.0070.03812.39
5.4.160.0040.04112.39
5.4.150.0040.03712.39
5.4.140.0070.03612.07
5.4.130.0010.04112.06
5.4.120.0060.03412.02
5.4.110.0070.03412.02
5.4.100.0060.03412.01
5.4.90.0100.03212.01
5.4.80.0070.03512.01
5.4.70.0070.03312.01
5.4.60.0070.03612.01
5.4.50.0040.03912.01
5.4.40.0080.03112.00
5.4.30.0070.03511.99
5.4.20.0060.03411.99
5.4.10.0070.03312.00
5.4.00.0050.04211.49
5.3.290.0070.04512.80
5.3.280.0090.04412.71
5.3.270.0060.03912.72
5.3.260.0080.03612.72
5.3.250.0170.02512.72
5.3.240.0060.03612.71
5.3.230.0060.03712.71
5.3.220.0060.03712.68
5.3.210.0050.03912.68
5.3.200.0070.03512.68
5.3.190.0070.04312.68
5.3.180.0100.03912.68
5.3.170.0050.03712.67
5.3.160.0040.03812.68
5.3.150.0090.03412.67
5.3.140.0050.03812.66
5.3.130.0080.03612.66
5.3.120.0080.03712.65
5.3.110.0050.04612.66
5.3.100.0090.03812.12
5.3.90.0070.03712.10
5.3.80.0050.03912.10
5.3.70.0090.03612.09
5.3.60.0080.03812.08
5.3.50.0070.03512.03
5.3.40.0040.03912.02
5.3.30.0040.03611.98
5.3.20.0130.03811.77
5.3.10.0070.03311.73
5.3.00.0050.03511.72
5.2.170.0050.0399.22
5.2.160.0050.0289.22
5.2.150.0080.0349.22
5.2.140.0050.0319.22
5.2.130.0080.0329.18
5.2.120.0050.0289.18
5.2.110.0040.0359.18
5.2.100.0010.0329.18
5.2.90.0100.0389.18
5.2.80.0090.0299.18
5.2.70.0050.0299.18
5.2.60.0060.0299.13
5.2.50.0010.0339.10
5.2.40.0030.0299.08
5.2.30.0050.0369.05
5.2.20.0080.0269.04
5.2.10.0060.0268.95
5.2.00.0080.0358.81
5.1.60.0050.0248.09
5.1.50.0040.0268.09
5.1.40.0040.0318.07
5.1.30.0050.0258.42
5.1.20.0030.0308.44
5.1.10.0050.0328.17
5.1.00.0010.0298.17
5.0.50.0050.0226.64
5.0.40.0040.0196.50
5.0.30.0040.0316.32
5.0.20.0060.0186.29
5.0.10.0030.0216.27
5.0.00.0030.0316.26
4.4.90.0010.0174.78
4.4.80.0010.0174.76
4.4.70.0020.0164.75
4.4.60.0040.0154.75
4.4.50.0000.0184.77
4.4.40.0030.0264.71
4.4.30.0030.0164.76
4.4.20.0020.0184.84
4.4.10.0010.0214.84
4.4.00.0030.0254.76
4.3.110.0030.0164.67
4.3.100.0040.0144.66
4.3.90.0030.0154.63
4.3.80.0010.0274.59
4.3.70.0010.0184.63
4.3.60.0030.0154.63
4.3.50.0070.0134.63
4.3.40.0030.0274.54
4.3.30.0030.0143.31
4.3.20.0000.0173.29
4.3.10.0020.0223.25
4.3.00.0070.0277.48

preferences:
58.3 ms | 400 KiB | 5 Q