3v4l.org

run code in 300+ PHP versions simultaneously
<?php $factory = new \Composer\Factory(); $output = $factory->createOutput(); $input = new \Symfony\Component\Console\Input\ArgvInput(array()); $helpset = new \Symfony\Component\Console\Helper\HelperSet(); $io = new \Composer\IO\ConsoleIO($input, $output, $helpset); $composer = $factory->createComposer($io, $config_file, false, $dir, true);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MoIgj
function name:  (null)
number of ops:  28
compiled vars:  !0 = $factory, !1 = $output, !2 = $input, !3 = $helpset, !4 = $io, !5 = $composer, !6 = $config_file, !7 = $dir
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $8      'Composer%5CFactory'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $8
    4     3        INIT_METHOD_CALL                                         !0, 'createOutput'
          4        DO_FCALL                                      0  $11     
          5        ASSIGN                                                   !1, $11
    5     6        NEW                                              $13     'Symfony%5CComponent%5CConsole%5CInput%5CArgvInput'
          7        SEND_VAL_EX                                              <array>
          8        DO_FCALL                                      0          
          9        ASSIGN                                                   !2, $13
    6    10        NEW                                              $16     'Symfony%5CComponent%5CConsole%5CHelper%5CHelperSet'
         11        DO_FCALL                                      0          
         12        ASSIGN                                                   !3, $16
    7    13        NEW                                              $19     'Composer%5CIO%5CConsoleIO'
         14        SEND_VAR_EX                                              !2
         15        SEND_VAR_EX                                              !1
         16        SEND_VAR_EX                                              !3
         17        DO_FCALL                                      0          
         18        ASSIGN                                                   !4, $19
    8    19        INIT_METHOD_CALL                                         !0, 'createComposer'
         20        SEND_VAR_EX                                              !4
         21        SEND_VAR_EX                                              !6
         22        SEND_VAL_EX                                              <false>
         23        SEND_VAR_EX                                              !7
         24        SEND_VAL_EX                                              <true>
         25        DO_FCALL                                      0  $22     
         26        ASSIGN                                                   !5, $22
         27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.83 ms | 1002 KiB | 13 Q