3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.69 ms | 1394 KiB | 15 Q