3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = []; $data['phone'] = '2514017257'; $matches = []; preg_match("/\+1\d{10}/", $data['phone'], $matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cLc3O
function name:  (null)
number of ops:  11
compiled vars:  !0 = $data, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN_DIM                                               !0, 'phone'
          2        OP_DATA                                                  '2514017257'
    6     3        ASSIGN                                                   !1, <array>
    7     4        INIT_FCALL                                               'preg_match'
          5        SEND_VAL                                                 '%2F%5C%2B1%5Cd%7B10%7D%2F'
          6        FETCH_DIM_R                                      ~5      !0, 'phone'
          7        SEND_VAL                                                 ~5
          8        SEND_REF                                                 !1
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.03 ms | 1398 KiB | 15 Q