3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str1 = "3543900000133243"; $str2 = "354334494923243"; $str3 = "154334494923243"; echo preg_match("/\A3543.+3243\Z/",$str2,$res); var_dump($res);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7Nrgk
function name:  (null)
number of ops:  13
compiled vars:  !0 = $str1, !1 = $str2, !2 = $str3, !3 = $res
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '3543900000133243'
    4     1        ASSIGN                                                   !1, '354334494923243'
    5     2        ASSIGN                                                   !2, '154334494923243'
    8     3        INIT_FCALL                                               'preg_match'
          4        SEND_VAL                                                 '%2F%5CA3543.%2B3243%5CZ%2F'
          5        SEND_VAR                                                 !1
          6        SEND_REF                                                 !3
          7        DO_ICALL                                         $7      
          8        ECHO                                                     $7
    9     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !3
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
203.57 ms | 1394 KiB | 17 Q