Skip to main
WritePHPOnline
- Start write and run your php code online
Editor
PHP Tutorial
Crontab Generator
<?php
$a = 10; function square() { $GLOBALS['square_of_a'] = $GLOBALS['a'] * $GLOBALS['a']; } square(); echo $square_of_a .'
'; echo $GLOBALS['square_of_a'];
$a = 10; function square() { $GLOBALS['square_of_a'] = $GLOBALS['a'] * $GLOBALS['a']; } square(); echo $square_of_a .'
'; echo $GLOBALS['square_of_a'];
Hello World!