Tools
- Sandbox
- Paste Code
- Snippets
- Generators
- Checks
- Convertors
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.
Save
Information about embedding
In order to embed this content into your website or blog, simply copy and paste one of the codes provided below.
1. JavaScript Embedding (shows full code, full height depending on amount of lines in paste)
<script src="https://wtools.io/code/embed-js/bPyP"></script>
2. Iframe Embedding (you can set the frame height by adding the CSS value 'height:100px;' for example)
<iframe src="https://wtools.io/code/embed-iframe/bPyP" style="border:none;width:100%"></iframe>
Full code of llll.php
- <?php
- if (empty($_GET['arg'])) {
- die('empty arg');
- }
- $arg = $_GET['arg'];
- if(preg_match("/[#\&\\+\-%@=\\\:;,\.\'\"\^`~\_|\!\/\?\*$#<>()\[\]\{\}]/i", $arg, $match)) {
- echo 'blocked';
- } else {
- echo 'passed';
- }