3v4l.org

run code in 300+ PHP versions simultaneously
<?php $summary="The problem with field2 is field13. The fix will be field7"; $_POST['field2']='thiscomputer'; $_POST['field7']='thishotfix'; $_POST['field13']='thisapplication'; echo str_replace(array_keys($_POST),array_values($_POST),$summary); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/quYVO
function name:  (null)
number of ops:  25
compiled vars:  !0 = $summary
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'The+problem+with+field2+is+field13.++The+fix+will+be+field7'
    5     1        FETCH_W                      global              $2      '_POST'
          2        ASSIGN_DIM                                               $2, 'field2'
          3        OP_DATA                                                  'thiscomputer'
    6     4        FETCH_W                      global              $4      '_POST'
          5        ASSIGN_DIM                                               $4, 'field7'
          6        OP_DATA                                                  'thishotfix'
    7     7        FETCH_W                      global              $6      '_POST'
          8        ASSIGN_DIM                                               $6, 'field13'
          9        OP_DATA                                                  'thisapplication'
    8    10        INIT_FCALL                                               'str_replace'
         11        INIT_FCALL                                               'array_keys'
         12        FETCH_R                      global              ~8      '_POST'
         13        SEND_VAL                                                 ~8
         14        DO_ICALL                                         $9      
         15        SEND_VAR                                                 $9
         16        INIT_FCALL                                               'array_values'
         17        FETCH_R                      global              ~10     '_POST'
         18        SEND_VAL                                                 ~10
         19        DO_ICALL                                         $11     
         20        SEND_VAR                                                 $11
         21        SEND_VAR                                                 !0
         22        DO_ICALL                                         $12     
         23        ECHO                                                     $12
   10    24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.95 ms | 1399 KiB | 19 Q