3v4l.org

run code in 300+ PHP versions simultaneously
<?php $line = "10,500,TRUE,59,m"; preg_match_all("/(\d+,\d+|\d+|\w+),/", $line . ",", $match); var_dump($match);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SRJOf
function name:  (null)
number of ops:  11
compiled vars:  !0 = $line, !1 = $match
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '10%2C500%2CTRUE%2C59%2Cm'
    5     1        INIT_FCALL                                               'preg_match_all'
          2        SEND_VAL                                                 '%2F%28%5Cd%2B%2C%5Cd%2B%7C%5Cd%2B%7C%5Cw%2B%29%2C%2F'
          3        CONCAT                                           ~3      !0, '%2C'
          4        SEND_VAL                                                 ~3
          5        SEND_REF                                                 !1
          6        DO_ICALL                                                 
    6     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144 ms | 1005 KiB | 15 Q