3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "00002008.debuglog:Maestro2::RecordingActivityQuestion Load (57.6ms) SELECT * FROM `RecordingActivityQuestion` WHERE (RecordingActivityID = 1016671)"; $g = preg_match('/SELECT \* FROM `RecordingActivityQuestion` .* (\d)/', $s, $matches); print_r($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/p01os
function name:  (null)
number of ops:  11
compiled vars:  !0 = $s, !1 = $g, !2 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '00002008.debuglog%3AMaestro2%3A%3ARecordingActivityQuestion+Load+%2857.6ms%29++SELECT+%2A+FROM+%60RecordingActivityQuestion%60+WHERE+%28RecordingActivityID+%3D+1016671%29'
    4     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2FSELECT+%5C%2A+FROM+%60RecordingActivityQuestion%60+.%2A+%28%5Cd%29%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !2
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !1, $4
    5     7        INIT_FCALL                                               'print_r'
          8        SEND_VAR                                                 !2
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.49 ms | 1394 KiB | 17 Q