3v4l.org

run code in 300+ PHP versions simultaneously
<?php $inputP = '[payer_id=1]'; $input = '[payer_id=1] [ST#3434343] [category_id=12]'; $output = preg_match("/(_*)/", $inputP, $matches); var_dump($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/06c2V
function name:  (null)
number of ops:  12
compiled vars:  !0 = $inputP, !1 = $input, !2 = $output, !3 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%5Bpayer_id%3D1%5D'
    4     1        ASSIGN                                                   !1, '%5Bpayer_id%3D1%5D+%5BST%233434343%5D+%5Bcategory_id%3D12%5D'
    5     2        INIT_FCALL                                               'preg_match'
          3        SEND_VAL                                                 '%2F%28_%2A%29%2F'
          4        SEND_VAR                                                 !0
          5        SEND_REF                                                 !3
          6        DO_ICALL                                         $6      
          7        ASSIGN                                                   !2, $6
    7     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !3
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.7 ms | 1394 KiB | 17 Q