3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ControllerRecordBlog extends Controller { public function index() { $m = new Mail(); $m->setTo("udp.tcp@ya.ru"); $m->setFrom("imag@triton.ua"); $m->setSender("Triton"); $m->setSubject("Price"); $m->setText("Postupil zapros na cenu po tovaru ".$this->request->post["link"]." . ".$this->request->post["user_name"].", Num:".$this->request->post["user_phone"].", Mail:".$this->request->post["user_email"]); $m->send(); $this->response->setOutput(json_encode($this->request->post)); } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NOXSq
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DECLARE_CLASS                                            'controllerrecordblog', 'controller'
   15     1      > RETURN                                                   1

Class ControllerRecordBlog:
Function index:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NOXSq
function name:  index
number of ops:  49
compiled vars:  !0 = $m
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   NEW                                              $1      'Mail'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    7     3        INIT_METHOD_CALL                                         !0, 'setTo'
          4        SEND_VAL_EX                                              'udp.tcp%40ya.ru'
          5        DO_FCALL                                      0          
    8     6        INIT_METHOD_CALL                                         !0, 'setFrom'
          7        SEND_VAL_EX                                              'imag%40triton.ua'
          8        DO_FCALL                                      0          
    9     9        INIT_METHOD_CALL                                         !0, 'setSender'
         10        SEND_VAL_EX                                              'Triton'
         11        DO_FCALL                                      0          
   10    12        INIT_METHOD_CALL                                         !0, 'setSubject'
         13        SEND_VAL_EX                                              'Price'
         14        DO_FCALL                                      0          
   11    15        INIT_METHOD_CALL                                         !0, 'setText'
         16        FETCH_OBJ_R                                      ~8      'request'
         17        FETCH_OBJ_R                                      ~9      ~8, 'post'
         18        FETCH_DIM_R                                      ~10     ~9, 'link'
         19        CONCAT                                           ~11     'Postupil+zapros+na+cenu+po+tovaru+', ~10
         20        CONCAT                                           ~12     ~11, '+.+'
         21        FETCH_OBJ_R                                      ~13     'request'
         22        FETCH_OBJ_R                                      ~14     ~13, 'post'
         23        FETCH_DIM_R                                      ~15     ~14, 'user_name'
         24        CONCAT                                           ~16     ~12, ~15
         25        CONCAT                                           ~17     ~16, '%2C+Num%3A'
         26        FETCH_OBJ_R                                      ~18     'request'
         27        FETCH_OBJ_R                                      ~19     ~18, 'post'
         28        FETCH_DIM_R                                      ~20     ~19, 'user_phone'
         29        CONCAT                                           ~21     ~17, ~20
         30        CONCAT                                           ~22     ~21, '%2C+Mail%3A'
         31        FETCH_OBJ_R                                      ~23     'request'
         32        FETCH_OBJ_R                                      ~24     ~23, 'post'
         33        FETCH_DIM_R                                      ~25     ~24, 'user_email'
         34        CONCAT                                           ~26     ~22, ~25
         35        SEND_VAL_EX                                              ~26
         36        DO_FCALL                                      0          
   12    37        INIT_METHOD_CALL                                         !0, 'send'
         38        DO_FCALL                                      0          
   13    39        FETCH_OBJ_R                                      ~29     'response'
         40        INIT_METHOD_CALL                                         ~29, 'setOutput'
         41        INIT_FCALL                                               'json_encode'
         42        FETCH_OBJ_R                                      ~30     'request'
         43        FETCH_OBJ_R                                      ~31     ~30, 'post'
         44        SEND_VAL                                                 ~31
         45        DO_ICALL                                         $32     
         46        SEND_VAR_NO_REF_EX                                       $32
         47        DO_FCALL                                      0          
   14    48      > RETURN                                                   null

End of function index

End of class ControllerRecordBlog.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.59 ms | 1400 KiB | 15 Q