3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cl1 = function(){echo 'LALAL';}; $cl2 = function(){print 'BB';}; var_dump($cl1 === $cl2); var_dump($cl2 === $cl2); var_dump($cl1 === $cl1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/huTPo
function name:  (null)
number of ops:  17
compiled vars:  !0 = $cl1, !1 = $cl2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FhuTPo%3A3%240'
          1        ASSIGN                                                   !0, ~2
    5     2        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FhuTPo%3A5%241'
          3        ASSIGN                                                   !1, ~4
    7     4        INIT_FCALL                                               'var_dump'
          5        IS_IDENTICAL                                     ~6      !0, !1
          6        SEND_VAL                                                 ~6
          7        DO_ICALL                                                 
    8     8        INIT_FCALL                                               'var_dump'
          9        IS_IDENTICAL                                     ~8      !1, !1
         10        SEND_VAL                                                 ~8
         11        DO_ICALL                                                 
    9    12        INIT_FCALL                                               'var_dump'
         13        IS_IDENTICAL                                     ~10     !0, !0
         14        SEND_VAL                                                 ~10
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

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

End of function %00%7Bclosure%7D%2Fin%2FhuTPo%3A3%240

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

End of function %00%7Bclosure%7D%2Fin%2FhuTPo%3A5%241

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.46 ms | 1396 KiB | 15 Q