3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arraynext = 'Date:21 Month:03 Year:2017 Amount:50 Category:Wow Account:The Note:This'; $endresult = preg_match("/\s*Amount:\s*(\d+)/", $arraynext, $match); echo $match[1];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6jaCV
function name:  (null)
number of ops:  10
compiled vars:  !0 = $arraynext, !1 = $endresult, !2 = $match
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Date%3A21%0AMonth%3A03%0AYear%3A2017%0AAmount%3A50%0ACategory%3AWow%0AAccount%3AThe%0ANote%3AThis'
    9     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%5Cs%2AAmount%3A%5Cs%2A%28%5Cd%2B%29%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !2
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !1, $4
   10     7        FETCH_DIM_R                                      ~6      !2, 1
          8        ECHO                                                     ~6
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.53 ms | 1009 KiB | 14 Q