3v4l.org

run code in 500+ PHP versions simultaneously
<?php namespace App\Controller; class SuggestionController { private function handlePlugin(Request $request) { { $form = $this->createForm(ArticleFormType::class, $article); return $this->render('Article/edit.html.twig', [ 'media' => $media, 'form' => $form->createView(), 'headline' => $headline, 'article' => $article ]); $form = $this->createForm(HeadlineType::class, $headline); return $this->render('headline/new.html.twig', [ 'headline' => $headline, 'media' => $media, 'form' => $form->createView(), ]); } } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rSTVF
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   26     0  E > > RETURN                                                       1

Class App\Controller\SuggestionController:
Function handleplugin:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rSTVF
function name:  handlePlugin
number of ops:  33
compiled vars:  !0 = $request, !1 = $form, !2 = $article, !3 = $media, !4 = $headline
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    7     0  E >   RECV                                                 !0      
   10     1        INIT_METHOD_CALL                                             'createForm'
          2        SEND_VAL_EX                                                  'App%5CController%5CArticleFormType'
          3        SEND_VAR_EX                                                  !2
          4        DO_FCALL                                          0  $5      
          5        ASSIGN                                                       !1, $5
   11     6        INIT_METHOD_CALL                                             'render'
          7        SEND_VAL_EX                                                  'Article%2Fedit.html.twig'
   12     8        INIT_ARRAY                                           ~7      !3, 'media'
   13     9        INIT_METHOD_CALL                                             !1, 'createView'
         10        DO_FCALL                                          0  $8      
         11        ADD_ARRAY_ELEMENT                                    ~7      $8, 'form'
   14    12        ADD_ARRAY_ELEMENT                                    ~7      !4, 'headline'
   15    13        ADD_ARRAY_ELEMENT                                    ~7      !2, 'article'
         14        SEND_VAL_EX                                                  ~7
   11    15        DO_FCALL                                          0  $9      
   15    16      > RETURN                                                       $9
   18    17*       INIT_METHOD_CALL                                             'createForm'
         18*       SEND_VAL_EX                                                  'App%5CController%5CHeadlineType'
         19*       SEND_VAR_EX                                                  !4
         20*       DO_FCALL                                          0  $10     
         21*       ASSIGN                                                       !1, $10
   19    22*       INIT_METHOD_CALL                                             'render'
         23*       SEND_VAL_EX                                                  'headline%2Fnew.html.twig'
   20    24*       INIT_ARRAY                                           ~12     !4, 'headline'
   21    25*       ADD_ARRAY_ELEMENT                                    ~12     !3, 'media'
   22    26*       INIT_METHOD_CALL                                             !1, 'createView'
         27*       DO_FCALL                                          0  $13     
         28*       ADD_ARRAY_ELEMENT                                    ~12     $13, 'form'
         29*       SEND_VAL_EX                                                  ~12
   19    30*       DO_FCALL                                          0  $14     
   22    31*       RETURN                                                       $14
   25    32*     > RETURN                                                       null

End of function handleplugin

End of class App\Controller\SuggestionController.

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
205.02 ms | 883 KiB | 8 Q