asdasd - 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.



Your result can be seen below.

Result of php executing





Full code of asdasd.php

  1. <?php
  2.  
  3. class Request
  4. {
  5.     public $statuses = [];
  6. }
  7.  
  8. $request = new Request;
  9. $request->statuses = ['first status', 'seconds status', 'third status'];
  10.  
  11. array_shift($request->statuses);
  12.  
  13. var_dump($request->statuses);
File Description
  • asdasd
  • PHP Code
  • 27 Jan-2023
  • 214 Bytes
You can Share it: