3v4l.org

run code in 300+ PHP versions simultaneously
<?php $q1l = new LabelField( 'Question 1' ); $q1 = new SelectField( 'text', array( 'Option 1', 'Option 2' ), false ); $q1->appendClass( 'sexy class for this field' ); $group1 = new QuestionGroup( $q1l, $q1 );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/djZnu
function name:  (null)
number of ops:  19
compiled vars:  !0 = $q1l, !1 = $q1, !2 = $group1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $3      'LabelField'
          1        SEND_VAL_EX                                              'Question+1'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $3
    3     4        NEW                                              $6      'SelectField'
          5        SEND_VAL_EX                                              'text'
          6        SEND_VAL_EX                                              <array>
          7        SEND_VAL_EX                                              <false>
          8        DO_FCALL                                      0          
          9        ASSIGN                                                   !1, $6
    4    10        INIT_METHOD_CALL                                         !1, 'appendClass'
         11        SEND_VAL_EX                                              'sexy+class+for+this+field'
         12        DO_FCALL                                      0          
    6    13        NEW                                              $10     'QuestionGroup'
         14        SEND_VAR_EX                                              !0
         15        SEND_VAR_EX                                              !1
         16        DO_FCALL                                      0          
         17        ASSIGN                                                   !2, $10
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.19 ms | 1393 KiB | 13 Q