3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input ="a\"b"; echo strlen($input)." ".strlen(utf8_decode($input));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GMf0u
function name:  (null)
number of ops:  10
compiled vars:  !0 = $input
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'a%22b'
    3     1        STRLEN                                           ~2      !0
          2        CONCAT                                           ~3      ~2, '+'
          3        INIT_FCALL                                               'utf8_decode'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $4      
          6        STRLEN                                           ~5      $4
          7        CONCAT                                           ~6      ~3, ~5
          8        ECHO                                                     ~6
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.63 ms | 1398 KiB | 15 Q