<?php header('Content-Type: text/plain'); $string = 'abcdefg'; echo "4th char is '$string[3]'"; foreach ($string as $char) { echo "$char\n"; }
You have javascript disabled. You will not be able to edit any code.