3v4l.org

run code in 300+ PHP versions simultaneously
<?php $innerText = '<![CDATA[ Friday ]]>'; $innerText = (string) simplexml_load_string("<x>$innerText</x>"); var_dump($innerText);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oiQ8E
function name:  (null)
number of ops:  13
compiled vars:  !0 = $innerText
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3C%21%5BCDATA%5B+Friday%0A%5D%5D%3E'
    6     1        INIT_FCALL                                               'simplexml_load_string'
          2        ROPE_INIT                                     3  ~3      '%3Cx%3E'
          3        ROPE_ADD                                      1  ~3      ~3, !0
          4        ROPE_END                                      2  ~2      ~3, '%3C%2Fx%3E'
          5        SEND_VAL                                                 ~2
          6        DO_ICALL                                         $5      
          7        CAST                                          6  ~6      $5
          8        ASSIGN                                                   !0, ~6
    8     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.19 ms | 1001 KiB | 15 Q