3v4l.org

run code in 500+ PHP versions simultaneously
<?php $response = "Response: 311768560 311768562 311768564"; $array = preg_match_all('/\d+/', $response, $out) ? $out[0] : []; var_export($array);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 10
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/heDnY
function name:  (null)
number of ops:  16
compiled vars:  !0 = $response, !1 = $array, !2 = $out
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'Response%3A+311768560%0A311768562%0A311768564'
    7     1        INIT_FCALL                                                   'preg_match_all'
          2        SEND_VAL                                                     '%2F%5Cd%2B%2F'
          3        SEND_VAR                                                     !0
          4        SEND_REF                                                     !2
          5        DO_ICALL                                             $4      
          6      > JMPZ                                                         $4, ->10
          7    >   FETCH_DIM_R                                          ~5      !2, 0
          8        QM_ASSIGN                                            ~6      ~5
          9      > JMP                                                          ->11
         10    >   QM_ASSIGN                                            ~6      <array>
         11    >   ASSIGN                                                       !1, ~6
    8    12        INIT_FCALL                                                   'var_export'
         13        SEND_VAR                                                     !1
         14        DO_ICALL                                                     
         15      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
167.96 ms | 2005 KiB | 15 Q