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

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


Your result can be seen below.

Result of php executing





Full code of llll.php

  1.  
  2.  
  3. <?php
  4.  
  5. if (empty($_GET['arg'])) {
  6.     die('empty arg');
  7. }
  8.  
  9. $arg = $_GET['arg'];
  10.  
  11. if(preg_match("/[#\&\\+\-%@=\\\:;,\.\'\"\^`~\_|\!\/\?\*$#<>()\[\]\{\}]/i", $arg, $match)) {
  12.     echo 'blocked';
  13. } else {
  14.     echo 'passed';
  15. }
  16.  
File Description
  • llll
  • PHP Code
  • 04 Sep-2023
  • 229 Bytes
You can Share it: