3v4l.org

run code in 300+ PHP versions simultaneously
<?php $strformnom=strtoupper("Jean Marc&"); $strformnom=str_replace(array('&', '~', '#', '{', '(', '[', '|', '`', '_', '\\', '@', ')', ']', '=', '}', '$', '�', '�', '%', '*', ',', '?', ';', '.', ':', '/', '!', '�', '+', '�', ' '), '-', $strformnom); $strformnom=str_replace('--039-', "'", $strformnom); $strformnom=str_replace('-"', '"', $strformnom); $strformnom=trim($strformnom); $strformnom=str_replace(' ', '-', $strformnom); echo $strformnom;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KNVaT
function name:  (null)
number of ops:  34
compiled vars:  !0 = $strformnom
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strtoupper'
          1        SEND_VAL                                                 'Jean+Marc%26'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    4     4        INIT_FCALL                                               'str_replace'
          5        SEND_VAL                                                 <array>
          6        SEND_VAL                                                 '-'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $3      
          9        ASSIGN                                                   !0, $3
    5    10        INIT_FCALL                                               'str_replace'
         11        SEND_VAL                                                 '--039-'
         12        SEND_VAL                                                 '%27'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                         $5      
         15        ASSIGN                                                   !0, $5
    6    16        INIT_FCALL                                               'str_replace'
         17        SEND_VAL                                                 '-%22'
         18        SEND_VAL                                                 '%22'
         19        SEND_VAR                                                 !0
         20        DO_ICALL                                         $7      
         21        ASSIGN                                                   !0, $7
    7    22        INIT_FCALL                                               'trim'
         23        SEND_VAR                                                 !0
         24        DO_ICALL                                         $9      
         25        ASSIGN                                                   !0, $9
    8    26        INIT_FCALL                                               'str_replace'
         27        SEND_VAL                                                 '+'
         28        SEND_VAL                                                 '-'
         29        SEND_VAR                                                 !0
         30        DO_ICALL                                         $11     
         31        ASSIGN                                                   !0, $11
    9    32        ECHO                                                     !0
         33      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.87 ms | 1396 KiB | 19 Q