3v4l.org

run code in 500+ PHP versions simultaneously
<?php preg_match('/\s*/', "hlkjsd fgashj jlksda" , $matches); echo count($matches); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eGSYW
function name:  (null)
number of ops:  8
compiled vars:  !0 = $matches
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                                   'preg_match'
          1        SEND_VAL                                                     '%2F%5Cs%2A%2F'
          2        SEND_VAL                                                     'hlkjsd+fgashj+jlksda'
          3        SEND_REF                                                     !0
          4        DO_ICALL                                                     
    3     5        COUNT                                                ~2      !0
          6        ECHO                                                         ~2
    4     7      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
170.56 ms | 2687 KiB | 13 Q