3v4l.org

run code in 300+ PHP versions simultaneously
<?php //echo "\"here\""; //$class = "ThisIsAClassName"; //$name = preg_replace('#^_#','',implode('_',preg_split('/(?=[A-Z])/',$class))); //echo "and the resulting name is $name"; for ($i =0 ; $i < 10000; $i++){ preg_replace('#(\[{2})|(\]{2})#','',"[[admin]] [[or something]]"); //str_replace("[[",'',str_replace("]]",'',"[[admin]] [[or something]]")); } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 2
Branch analysis from position: 10
Branch analysis from position: 2
filename:       /in/qo7Hf
function name:  (null)
number of ops:  11
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->8
    8     2    >   INIT_FCALL                                               'preg_replace'
          3        SEND_VAL                                                 '%23%28%5C%5B%7B2%7D%29%7C%28%5C%5D%7B2%7D%29%23'
          4        SEND_VAL                                                 ''
          5        SEND_VAL                                                 '%5B%5Badmin%5D%5D+%5B%5Bor+something%5D%5D'
          6        DO_ICALL                                                 
    7     7        PRE_INC                                                  !0
          8    >   IS_SMALLER                                               !0, 10000
          9      > JMPNZ                                                    ~4, ->2
   11    10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
186.2 ms | 1394 KiB | 15 Q