3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = '/(\d+)\([A-Z]\+?\)/'; $str = '33(F) 15352(1) 24 31 55(B+) 15360(1) 6 32 38 70(A) 2 3 4 5 6 7 8 9 10 10 *Passed with Grace Marks *SID: Student ID; SchemeID: The scheme applicable to the student. Date on which pdf made: 09/10/2018 RTSID: 2018100901520151640002'; preg_match_all($re, $str, $matches); var_dump(array_map('intval',$matches[1]));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9vgZ5
function name:  (null)
number of ops:  16
compiled vars:  !0 = $re, !1 = $str, !2 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%2F%28%5Cd%2B%29%5C%28%5BA-Z%5D%5C%2B%3F%5C%29%2F'
    3     1        ASSIGN                                                   !1, '33%28F%29+15352%281%29+24+31+55%28B%2B%29+15360%281%29+6+32+38+70%28A%29+2+3+4+5+6+7+8+9+10%0A10%0A%2APassed+with+Grace+Marks%0A%2ASID%3A++Student++ID%3B++++++++++++++++++++++++++SchemeID%3A++The++scheme++%0Aapplicable++to++the++student.%0ADate+on+which+pdf+made%3A+09%2F10%2F2018%0ARTSID%3A+2018100901520151640002'
   11     2        INIT_FCALL                                               'preg_match_all'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !1
          5        SEND_REF                                                 !2
          6        DO_ICALL                                                 
   12     7        INIT_FCALL                                               'var_dump'
          8        INIT_FCALL                                               'array_map'
          9        SEND_VAL                                                 'intval'
         10        FETCH_DIM_R                                      ~6      !2, 1
         11        SEND_VAL                                                 ~6
         12        DO_ICALL                                         $7      
         13        SEND_VAR                                                 $7
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.75 ms | 1003 KiB | 16 Q