3v4l.org

run code in 300+ PHP versions simultaneously
<?php $subject = 'a=b'; $pattern = '/(=|!=|<|<=|>|>=)/'; $output = preg_split($pattern, $subject, 2, PREG_SPLIT_DELIM_CAPTURE); print_r($output);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2Su6i
function name:  (null)
number of ops:  13
compiled vars:  !0 = $subject, !1 = $pattern, !2 = $output
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, 'a%3Db'
    6     1        ASSIGN                                                   !1, '%2F%28%3D%7C%21%3D%7C%3C%7C%3C%3D%7C%3E%7C%3E%3D%29%2F'
    8     2        INIT_FCALL                                               'preg_split'
          3        SEND_VAR                                                 !1
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 2
          6        SEND_VAL                                                 2
          7        DO_ICALL                                         $5      
          8        ASSIGN                                                   !2, $5
   10     9        INIT_FCALL                                               'print_r'
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.84 ms | 1394 KiB | 17 Q