3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = new stdClass(); $xml->return = new stdClass(); $xml->return->authtoken = 'Test'; print_r($xml->return->authtoken); foreach($xml->return->authtoken as $char){ echo "Char is $char \n"; }

preferences:
43.52 ms | 402 KiB | 5 Q