Remove edit - 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 Remove edit.php

  1. <?php
  2. $msg  = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."; 
  3. $msg .= "\n\n\n\nEdit Super 17/12/2017 12:33";
  4. echo "|";
  5. echo strstr($msg, "\n\n\n\nEdit", true);
  6. echo "|";
File Description
  • Remove edit
  • PHP Code
  • 19 Jun-2018
  • 571 Bytes
You can Share it: