fork download
  1. <?php
  2. $num = '+ 79--35(- 358741()3';
  3. $numClean = preg_replace ('/[)(\s+-]*/',"",$num);
  4. if (mb_strlen($numClean)>11){
  5. exit ("THIS IS A MISTAAAKE");
  6. }
  7. $finishedNum = preg_replace ('/^[7]/',8,$numClean);
  8. echo "$finishedNum";
Runtime error #stdin #stdout #stderr 0.01s 82624KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
PHP Fatal error:  Uncaught Error: Call to undefined function mb_strlen() in /home/mV7osL/prog.php:4
Stack trace:
#0 {main}
  thrown in /home/mV7osL/prog.php on line 4