3v4l.org

run code in 300+ PHP versions simultaneously
<?php $six = "➅"; $a = array( "Raw" => $six, "Length" => strlen($six), "htmlentities()" => htmlentities($six), "htmlspecialchars()" => htmlspecialchars($six), ); var_dump($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2Nolr
function name:  (null)
number of ops:  17
compiled vars:  !0 = $six, !1 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%E2%9E%85'
    4     1        INIT_ARRAY                                       ~3      !0, 'Raw'
    5     2        STRLEN                                           ~4      !0
          3        ADD_ARRAY_ELEMENT                                ~3      ~4, 'Length'
    6     4        INIT_FCALL                                               'htmlentities'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $5      
          7        ADD_ARRAY_ELEMENT                                ~3      $5, 'htmlentities%28%29'
    7     8        INIT_FCALL                                               'htmlspecialchars'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $6      
         11        ADD_ARRAY_ELEMENT                                ~3      $6, 'htmlspecialchars%28%29'
    3    12        ASSIGN                                                   !1, ~3
    9    13        INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.53 ms | 1394 KiB | 19 Q