Where is the space coming from? - 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.

Name: Where is the space coming from? fullscreencopydownloadembedprint


Your result can be seen below.

Result of php executing





Full code of Where is the space coming from?.php

  1. <?php
  2.  
  3. $blah = ['blah', 'boy', 'baz'];
  4.  
  5. echo $blah[0]."\n";
  6. echo $blah[1]."\n";
  7. echo $blah[2]."\n";
  8.  
File Description
  • Where is the space coming from?
  • PHP Code
  • 08 Aug-2020
  • 100 Bytes
You can Share it: