3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Example: chicken -> cnekcih $s = 'zwLc0Uzo,bQGPhVb&rsHNkkA'; echo substr($s, 0, 1) . strrev(substr($s, 1)); assert($s == 'cnekcih');

preferences:
39.53 ms | 402 KiB | 5 Q