3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = html_entity_decode('a&nbsp;b'); echo $s; echo "\n"; foreach (str_split($s) as $char) { echo bin2hex($char) . ' '; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 10, Position 2 = 17
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 17
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/vPFQB
function name:  (null)
number of ops:  19
compiled vars:  !0 = $s, !1 = $char
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'html_entity_decode'
          1        SEND_VAL                                                 'a%26nbsp%3Bb'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    4     4        ECHO                                                     !0
          5        ECHO                                                     '%0A'
    5     6        INIT_FCALL                                               'str_split'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $4      
          9      > FE_RESET_R                                       $5      $4, ->17
         10    > > FE_FETCH_R                                               $5, !1, ->17
    6    11    >   INIT_FCALL                                               'bin2hex'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                         $6      
         14        CONCAT                                           ~7      $6, '+'
         15        ECHO                                                     ~7
    5    16      > JMP                                                      ->10
         17    >   FE_FREE                                                  $5
    7    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
128.84 ms | 1399 KiB | 19 Q