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_r("$c"); ?>
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Warning: Array to string conversion in /in/SLT5m on line 20 Array
Output for 5.4.0 - 5.4.45, 5.5.24 - 5.5.35, 5.6.8 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.31, 7.4.0 - 7.4.33
Notice: Array to string conversion in /in/SLT5m on line 20 Array
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 7.3.32 - 7.3.33
Array

preferences:
251.15 ms | 403 KiB | 355 Q