3v4l.org

run code in 300+ PHP versions simultaneously
<?php function eq($l, $r) { printf("%34s == %-34s: %s\n", var_export($l, true), var_export($r, true), var_export($l == $r, true)); } eq(0, "string"); eq("0xFF", "255"); eq('33333333333333333333', '33333333333333333334'); eq(md5('240610708'), md5('QNKCDZO'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rbuSd
function name:  (null)
number of ops:  23
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'eq'
          1        SEND_VAL                                                 0
          2        SEND_VAL                                                 'string'
          3        DO_FCALL                                      0          
    6     4        INIT_FCALL                                               'eq'
          5        SEND_VAL                                                 '0xFF'
          6        SEND_VAL                                                 '255'
          7        DO_FCALL                                      0          
    7     8        INIT_FCALL                                               'eq'
          9        SEND_VAL                                                 '33333333333333333333'
         10        SEND_VAL                                                 '33333333333333333334'
         11        DO_FCALL                                      0          
    8    12        INIT_FCALL                                               'eq'
         13        INIT_FCALL                                               'md5'
         14        SEND_VAL                                                 '240610708'
         15        DO_ICALL                                         $3      
         16        SEND_VAR                                                 $3
         17        INIT_FCALL                                               'md5'
         18        SEND_VAL                                                 'QNKCDZO'
         19        DO_ICALL                                         $4      
         20        SEND_VAR                                                 $4
         21        DO_FCALL                                      0          
         22      > RETURN                                                   1

Function eq:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rbuSd
function name:  eq
number of ops:  22
compiled vars:  !0 = $l, !1 = $r
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        INIT_FCALL                                               'printf'
          3        SEND_VAL                                                 '%2534s+%3D%3D+%25-34s%3A+%25s%0A'
          4        INIT_FCALL                                               'var_export'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 <true>
          7        DO_ICALL                                         $2      
          8        SEND_VAR                                                 $2
          9        INIT_FCALL                                               'var_export'
         10        SEND_VAR                                                 !1
         11        SEND_VAL                                                 <true>
         12        DO_ICALL                                         $3      
         13        SEND_VAR                                                 $3
         14        INIT_FCALL                                               'var_export'
         15        IS_EQUAL                                         ~4      !0, !1
         16        SEND_VAL                                                 ~4
         17        SEND_VAL                                                 <true>
         18        DO_ICALL                                         $5      
         19        SEND_VAR                                                 $5
         20        DO_ICALL                                                 
         21      > RETURN                                                   null

End of function eq

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.16 ms | 1403 KiB | 23 Q