3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str[] = "3543900000133243"; $str[] = "354334494923243"; $str[] = "154334494923243"; $pattern = "/\A3543.+3243\Z/"; foreach($str as $key=>$string) { echo preg_match($pattern,$string,$res); var_dump($res); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 20
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 20
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
filename:       /in/bqsGB
function name:  (null)
number of ops:  22
compiled vars:  !0 = $str, !1 = $pattern, !2 = $string, !3 = $key, !4 = $res
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0
          1        OP_DATA                                                  '3543900000133243'
    4     2        ASSIGN_DIM                                               !0
          3        OP_DATA                                                  '354334494923243'
    5     4        ASSIGN_DIM                                               !0
          5        OP_DATA                                                  '154334494923243'
    7     6        ASSIGN                                                   !1, '%2F%5CA3543.%2B3243%5CZ%2F'
    9     7      > FE_RESET_R                                       $9      !0, ->20
          8    > > FE_FETCH_R                                       ~10     $9, !2, ->20
          9    >   ASSIGN                                                   !3, ~10
   10    10        INIT_FCALL                                               'preg_match'
         11        SEND_VAR                                                 !1
         12        SEND_VAR                                                 !2
         13        SEND_REF                                                 !4
         14        DO_ICALL                                         $12     
         15        ECHO                                                     $12
   11    16        INIT_FCALL                                               'var_dump'
         17        SEND_VAR                                                 !4
         18        DO_ICALL                                                 
    9    19      > JMP                                                      ->8
         20    >   FE_FREE                                                  $9
   12    21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.81 ms | 1395 KiB | 17 Q