3v4l.org

run code in 300+ PHP versions simultaneously
<?php $num = ' 527545855 '; var_dump( preg_match( '/\d+/', substr( $num, 0, 18 ), $coincidencias ) ); var_dump($coincidencias);exit;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/ohjct
function name:  (null)
number of ops:  19
compiled vars:  !0 = $num, !1 = $coincidencias
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '++++527545855+++'
    3     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'preg_match'
          3        SEND_VAL                                                 '%2F%5Cd%2B%2F'
          4        INIT_FCALL                                               'substr'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 0
          7        SEND_VAL                                                 18
          8        DO_ICALL                                         $3      
          9        SEND_VAR                                                 $3
         10        SEND_REF                                                 !1
         11        DO_ICALL                                         $4      
         12        SEND_VAR                                                 $4
         13        DO_ICALL                                                 
    4    14        INIT_FCALL                                               'var_dump'
         15        SEND_VAR                                                 !1
         16        DO_ICALL                                                 
         17      > EXIT                                                     
         18*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.96 ms | 1394 KiB | 19 Q