3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152 ms | 1392 KiB | 13 Q