3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (PHP_VERSION_ID === 50508) { $string = "miauw\xe1\x8e\xa3"; preg_replace('/./uD', '', $string, -1, $count); var_dump( $string, $count ); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 1, Position 2 = 13
Branch analysis from position: 1
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/ADlac
function name:  (null)
number of ops:  14
compiled vars:  !0 = $string, !1 = $count
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > JMPZ                                                     <false>, ->13
    6     1    >   ASSIGN                                                   !0, 'miauw%E1%8E%A3'
    8     2        INIT_FCALL                                               'preg_replace'
          3        SEND_VAL                                                 '%2F.%2FuD'
          4        SEND_VAL                                                 ''
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 -1
          7        SEND_REF                                                 !1
          8        DO_ICALL                                                 
   10     9        INIT_FCALL                                               'var_dump'
   11    10        SEND_VAR                                                 !0
   12    11        SEND_VAR                                                 !1
         12        DO_ICALL                                                 
   14    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.11 ms | 1394 KiB | 17 Q