3v4l.org

run code in 300+ PHP versions simultaneously
<?php $params = array( 'category_id' => $this->getCategoryIdByName($service->id, $pCategoryName), 'subject' => trim($pTitle), 'body' => trim($pMessage), 'from' => array('name' => $pUserName, 'email' => $pUserEmail), 'to' => array('name' => $service->name, 'email' => $service->from), ); echo json_encode($params);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ggc5v
function name:  (null)
number of ops:  30
compiled vars:  !0 = $params, !1 = $service, !2 = $pCategoryName, !3 = $pTitle, !4 = $pMessage, !5 = $pUserName, !6 = $pUserEmail
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_THIS                                       $7      
          1        INIT_METHOD_CALL                                         $7, 'getCategoryIdByName'
          2        CHECK_FUNC_ARG                                           
          3        FETCH_OBJ_FUNC_ARG                               $8      !1, 'id'
          4        SEND_FUNC_ARG                                            $8
          5        SEND_VAR_EX                                              !2
          6        DO_FCALL                                      0  $9      
          7        INIT_ARRAY                                       ~10     $9, 'category_id'
    4     8        INIT_FCALL                                               'trim'
          9        SEND_VAR                                                 !3
         10        DO_ICALL                                         $11     
         11        ADD_ARRAY_ELEMENT                                ~10     $11, 'subject'
    5    12        INIT_FCALL                                               'trim'
         13        SEND_VAR                                                 !4
         14        DO_ICALL                                         $12     
         15        ADD_ARRAY_ELEMENT                                ~10     $12, 'body'
    6    16        INIT_ARRAY                                       ~13     !5, 'name'
         17        ADD_ARRAY_ELEMENT                                ~13     !6, 'email'
         18        ADD_ARRAY_ELEMENT                                ~10     ~13, 'from'
    7    19        FETCH_OBJ_R                                      ~14     !1, 'name'
         20        INIT_ARRAY                                       ~15     ~14, 'name'
         21        FETCH_OBJ_R                                      ~16     !1, 'from'
         22        ADD_ARRAY_ELEMENT                                ~15     ~16, 'email'
         23        ADD_ARRAY_ELEMENT                                ~10     ~15, 'to'
    2    24        ASSIGN                                                   !0, ~10
   10    25        INIT_FCALL                                               'json_encode'
         26        SEND_VAR                                                 !0
         27        DO_ICALL                                         $18     
         28        ECHO                                                     $18
         29      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.5 ms | 1387 KiB | 17 Q