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.
Result of php executing
Full code of what the fuck.php
- <?php
- $code = "ABC";
- $regex = "/^[0-9a-zA-ZÀÁÂÃÄÅÑñÈÉÊËÌÍÎÏÒÓÔÕÖÙÚÛÜÝŸÇàáâãäåèéêëìíîïðòóôõöùúûüýÿç!\x22'#$&{}()[\]+,.;:=@\/|_ <>°-]+$/";
- print_r(preg_match($regex, $code, $matches));
- print_r($matches);
- $code = "invalid_code§§§§";
- $regex = "/^[0-9a-zA-ZÀÁÂÃÄÅÑñÈÉÊËÌÍÎÏÒÓÔÕÖÙÚÛÜÝŸÇàáâãäåèéêëìíîïðòóôõöùúûüýÿç!\x22'#$&{}()[\]+,.;:=@\/|_ <>°-]+$/";
- print_r(preg_match($regex, $code, $matches));
- print_r($matches);