3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'sex at noon taxes'; // look for a match preg_match("/s.x/", $string, $matches); echo $matches;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pf0lK
function name:  (null)
number of ops:  8
compiled vars:  !0 = $string, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'sex+at+noon+taxes'
    6     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2Fs.x%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    7     6        ECHO                                                     !1
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.59 ms | 1385 KiB | 15 Q