bucket_list1 - 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 bucket_list1.php
- <?php
- echo "hoeveel activiteiten wil je toevoegen?" . PHP_EOL;
- $aantal = (int)readline();
- if (is_numeric($aantal)) {
- "$aantal >= 0";
- } else {
- exit("'" . $aantal . "' geen getal ingevoerd" . PHP_EOL);
- }
- $vraag = "Wat wil je toevoegen aan jou bucketlist?" . PHP_EOL;
- for ($i = 0; $i < count($aantal); $i++) {
- echo $vraag[$i] . PHP_EOL;
- }
- $type = array("");
File Description
- bucket_list1
- PHP Code
- 15 Sep-2021
- 369 Bytes
You can Share it:
Latest PHP Pastes