3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function pouet(\DateTime $lol) { return $lol->format('c'); } pouet(null);
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/6iLiV
function name:  (null)
number of ops:  5
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   NOP                                                      
   7     1        INIT_FCALL                                               'pouet'
         2        SEND_VAL                                                 null
         3        DO_FCALL                                      0          
         4      > RETURN                                                   1

Function pouet:
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/6iLiV
function name:  pouet
number of ops:  6
compiled vars:  !0 = $lol
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   RECV                                             !0      
   4     1        INIT_METHOD_CALL                                         !0, 'format'
         2        SEND_VAL_EX                                              'c'
         3        DO_FCALL                                      0  $1      
         4      > RETURN                                                   $1
   5     5*     > RETURN                                                   null

End of function pouet

Generated using Vulcan Logic Dumper, using php 7.1.0