3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(count((array) null), count(null)); var_dump(count((array) false), count(false));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WUgRo
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        CAST                                          7  ~0      null
          2        COUNT                                            ~1      ~0
          3        SEND_VAL                                                 ~1
          4        COUNT                                            ~2      null
          5        SEND_VAL                                                 ~2
          6        DO_ICALL                                                 
    4     7        INIT_FCALL                                               'var_dump'
          8        CAST                                          7  ~4      <false>
          9        COUNT                                            ~5      ~4
         10        SEND_VAL                                                 ~5
         11        COUNT                                            ~6      <false>
         12        SEND_VAL                                                 ~6
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.33 ms | 1000 KiB | 14 Q