what the fuck - 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 what the fuck.php

  1. <?php
  2.  
  3. $code = "ABC";
  4. $regex = "/^[0-9a-zA-ZÀÁÂÃÄÅÑñÈÉÊËÌÍÎÏÒÓÔÕÖÙÚÛÜÝŸÇàáâãäåèéêëìíîïðòóôõöùúûüýÿç!\x22'#$&{}()[\]+,.;:=@\/|_ <>°-]+$/";
  5. print_r(preg_match($regex, $code, $matches));
  6. print_r($matches);
  7.  
  8.  
  9. $code = "invalid_code§§§§";
  10. $regex = "/^[0-9a-zA-ZÀÁÂÃÄÅÑñÈÉÊËÌÍÎÏÒÓÔÕÖÙÚÛÜÝŸÇàáâãäåèéêëìíîïðòóôõöùúûüýÿç!\x22'#$&{}()[\]+,.;:=@\/|_ <>°-]+$/";
  11. print_r(preg_match($regex, $code, $matches));
  12. print_r($matches);
  13.  
  14.  
File Description
  • what the fuck
  • PHP Code
  • 28 Apr-2022
  • 531 Bytes
You can Share it: