3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str="[[uno]] [sd] sldkjnsldnvls [lsjd] sldjbnlsjdnblsjndsd [[due]] opopopopopopopopopop [rr] ioioioioioioioio "; $array=mb_split("\s*\[\[|\]\]\s*", $str); print_r($array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MQnsZ
function name:  (null)
number of ops:  10
compiled vars:  !0 = $str, !1 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%5B%5Buno%5D%5D%0A%0A%5Bsd%5D%0Asldkjnsldnvls%0A%5Blsjd%5D%0Asldjbnlsjdnblsjndsd%0A%0A%5B%5Bdue%5D%5D%0Aopopopopopopopopopop%0A%0A%5Brr%5D%0Aioioioioioioioio%0A'
   16     1        INIT_FCALL                                               'mb_split'
          2        SEND_VAL                                                 '%5Cs%2A%5C%5B%5C%5B%7C%5C%5D%5C%5D%5Cs%2A'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
   17     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.87 ms | 1385 KiB | 17 Q