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

preferences:
42.65 ms | 402 KiB | 5 Q