3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txt = "123~456!!!789~012!!!345~678!!!901~234!!!567~890!!!1234~5678"; $array = preg_split ('/!!!|~/', $txt); print_r($array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0uK2q
function name:  (null)
number of ops:  10
compiled vars:  !0 = $txt, !1 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '123%7E456%21%21%21789%7E012%21%21%21345%7E678%21%21%21901%7E234%21%21%21567%7E890%21%21%211234%7E5678'
    3     1        INIT_FCALL                                               'preg_split'
          2        SEND_VAL                                                 '%2F%21%21%21%7C%7E%2F'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
    4     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:
158.76 ms | 1394 KiB | 17 Q