3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(['a', "b", true, 12, 12.6, null, ['a', "b", true, 12, 12.6, null], (object)['a' => (object)[], 'b' => function(){}, 'c' => new DateTime()]]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/A2Cq0
function name:  (null)
number of ops:  20
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_ARRAY                                       ~0      'a'
          2        ADD_ARRAY_ELEMENT                                ~0      'b'
          3        ADD_ARRAY_ELEMENT                                ~0      <true>
          4        ADD_ARRAY_ELEMENT                                ~0      12
          5        ADD_ARRAY_ELEMENT                                ~0      12.6
          6        ADD_ARRAY_ELEMENT                                ~0      null
          7        ADD_ARRAY_ELEMENT                                ~0      <array>
          8        CAST                                          8  ~1      <array>
          9        INIT_ARRAY                                       ~2      ~1, 'a'
         10        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FA2Cq0%3A2%240'
         11        ADD_ARRAY_ELEMENT                                ~2      ~3, 'b'
         12        NEW                                              $4      'DateTime'
         13        DO_FCALL                                      0          
         14        ADD_ARRAY_ELEMENT                                ~2      $4, 'c'
         15        CAST                                          8  ~6      ~2
         16        ADD_ARRAY_ELEMENT                                ~0      ~6
         17        SEND_VAL                                                 ~0
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FA2Cq0%3A2%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/A2Cq0
function name:  {closure}
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
          0  E > > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FA2Cq0%3A2%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.44 ms | 1395 KiB | 15 Q