prueba - 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 prueba.php

  1. <?php
  2. // Enter your code here, enjoy!
  3. $array = array("1" => "PHP code tester Sandbox Online",
  4.     "emoji" => "???? ???? ???? ???? ????", 5 , 5 => 89009,
  5.     "Random number" => rand(100,999),
  6.     "PHP Version" => phpversion()
  7. );
  8.  
  9. foreach( $array as $key => $value ){
  10.     echo $key."\t=>\t".$value."\n";
  11. }
File Description
  • prueba
  • PHP Code
  • 22 Sep-2022
  • 303 Bytes
You can Share it: