3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (preg_match('/.*Version:\s([0-9\.]*).*/', "Version: a.3.1.23", $m)) { var_dump($m); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 9
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/lIM8o
function name:  (null)
number of ops:  10
compiled vars:  !0 = $m
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_match'
          1        SEND_VAL                                                 '%2F.%2AVersion%3A%5Cs%28%5B0-9%5C.%5D%2A%29.%2A%2F'
          2        SEND_VAL                                                 'Version%3A+a.3.1.23'
          3        SEND_REF                                                 !0
          4        DO_ICALL                                         $1      
          5      > JMPZ                                                     $1, ->9
    4     6    >   INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
    5     9    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.48 ms | 1394 KiB | 17 Q