3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo strcmp(utf8_encode('20B'), utf8_encode('21')); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FtJWv
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strcmp'
          1        INIT_FCALL                                               'utf8_encode'
          2        SEND_VAL                                                 '20B'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        INIT_FCALL                                               'utf8_encode'
          6        SEND_VAL                                                 '21'
          7        DO_ICALL                                         $1      
          8        SEND_VAR                                                 $1
          9        DO_ICALL                                         $2      
         10        ECHO                                                     $2
    5    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.75 ms | 1394 KiB | 17 Q