Boti 2 - PHP Online
Form of PHP Sandbox
Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php
in the places where the PHP script should be executed.
Result of php executing
Full code of Boti 2.php
- <?php
- $family_name = "Szász";
- $given_name = "Pisti";
- //echo '$family_name $given_name';
- //echo "\n";
- //echo "$family_name $given_name";
- $full_name=$family_name.' '.$given_name;
- echo "\n";
- echo "Én vagyok $full_name.";
- $age = 15;
- echo "\n";
- echo "$age éves.";
- echo "\n";
- echo "Csóró.";
- for($i=0; $i<10; $i = $i + 1) {
- echo "\n";
- echo $i;
- }