test - 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 test.php
- <?php
- <?php
- $arr = [
- [
- 'name' => 'Альбина',
- 'age' => '37'
- ],
- [
- 'name' => 'Марина',
- 'age' => '47'
- ],
- [
- 'name' => 'Лера',
- 'age' => '27'
- ],
- [
- 'name' => 'Эля',
- 'age' => '36'
- ],
- [
- 'name' => 'Гуля',
- 'age' => '38'
- ],
- [
- 'name' => 'Лена',
- 'age' => '20'
- ]
- ];
- foreach ($arr as $value) {
- echo $value['age'].PHP_EOL;
- }
File Description
- test
- PHP Code
- 28 Jun-2022
- 416 Bytes
You can Share it:
Latest PHP Pastes