3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_dump(array_product(['5.5', true, new \SimpleXMLElement('<a>7.7</a>'), 5, 5.5])); var_dump(5.5 * 5.5 * 5);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GNJiY
function name:  (null)
number of ops:  18
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'var_dump'
          1        INIT_FCALL                                                   'array_product'
          2        INIT_ARRAY                                           ~0      '5.5'
          3        ADD_ARRAY_ELEMENT                                    ~0      <true>
          4        NEW                                                  $1      'SimpleXMLElement'
          5        SEND_VAL_EX                                                  '%3Ca%3E7.7%3C%2Fa%3E'
          6        DO_FCALL                                          0          
          7        ADD_ARRAY_ELEMENT                                    ~0      $1
          8        ADD_ARRAY_ELEMENT                                    ~0      5
          9        ADD_ARRAY_ELEMENT                                    ~0      5.5
         10        SEND_VAL                                                     ~0
         11        DO_ICALL                                             $3      
         12        SEND_VAR                                                     $3
         13        DO_ICALL                                                     
    5    14        INIT_FCALL                                                   'var_dump'
         15        SEND_VAL                                                     151.25
         16        DO_ICALL                                                     
         17      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
160.09 ms | 3322 KiB | 14 Q