3v4l.org

run code in 300+ PHP versions simultaneously
<?php $file = array('"The Albany Academies (AA & AAG)","Closed, Play will be at 7 pm tonight"','"Amsterdam Head Start","Closed, Staff Report, Parent/Teacher conference schedule normal"','"Averill Park Pre School","Closed, closed Open House 7:00 -8:00 still scheduled"'); while ($row = each($file)) { $match = preg_match("/\"(.*)\"\,\"(.*)\"/i", $row[1], $matches); echo '<b>' . $matches[1] . '</b><br>'; echo $matches[2] . '<br><br>'; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 21, Position 2 = 2
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 21, Position 2 = 2
Branch analysis from position: 21
Branch analysis from position: 2
filename:       /in/7T0Vf
function name:  (null)
number of ops:  22
compiled vars:  !0 = $file, !1 = $match, !2 = $row, !3 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1      > JMP                                                      ->16
    5     2    >   INIT_FCALL                                               'preg_match'
          3        SEND_VAL                                                 '%2F%22%28.%2A%29%22%5C%2C%22%28.%2A%29%22%2Fi'
          4        FETCH_DIM_R                                      ~5      !2, 1
          5        SEND_VAL                                                 ~5
          6        SEND_REF                                                 !3
          7        DO_ICALL                                         $6      
          8        ASSIGN                                                   !1, $6
    6     9        FETCH_DIM_R                                      ~8      !3, 1
         10        CONCAT                                           ~9      '%3Cb%3E', ~8
         11        CONCAT                                           ~10     ~9, '%3C%2Fb%3E%3Cbr%3E'
         12        ECHO                                                     ~10
    7    13        FETCH_DIM_R                                      ~11     !3, 2
         14        CONCAT                                           ~12     ~11, '%3Cbr%3E%3Cbr%3E'
         15        ECHO                                                     ~12
    4    16    >   INIT_FCALL_BY_NAME                                       'each'
         17        SEND_VAR_EX                                              !0
         18        DO_FCALL                                      0  $13     
         19        ASSIGN                                           ~14     !2, $13
         20      > JMPNZ                                                    ~14, ->2
    8    21    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.28 ms | 1387 KiB | 15 Q