3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(strcmp('Narendra','Narendra')).PHP_EOL; var_dump(strcmp('NarendraSisodia','Narendra')).PHP_EOL; var_dump(strcmp('SisodiaNarendra','Narendra')).PHP_EOL; var_dump(strcmp('Narendra','narendra')).PHP_EOL;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cbcgk
function name:  (null)
number of ops:  37
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'strcmp'
          2        SEND_VAL                                                 'Narendra'
          3        SEND_VAL                                                 'Narendra'
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                         $1      
          7        CONCAT                                           ~2      $1, '%0A'
          8        FREE                                                     ~2
    4     9        INIT_FCALL                                               'var_dump'
         10        INIT_FCALL                                               'strcmp'
         11        SEND_VAL                                                 'NarendraSisodia'
         12        SEND_VAL                                                 'Narendra'
         13        DO_ICALL                                         $3      
         14        SEND_VAR                                                 $3
         15        DO_ICALL                                         $4      
         16        CONCAT                                           ~5      $4, '%0A'
         17        FREE                                                     ~5
    5    18        INIT_FCALL                                               'var_dump'
         19        INIT_FCALL                                               'strcmp'
         20        SEND_VAL                                                 'SisodiaNarendra'
         21        SEND_VAL                                                 'Narendra'
         22        DO_ICALL                                         $6      
         23        SEND_VAR                                                 $6
         24        DO_ICALL                                         $7      
         25        CONCAT                                           ~8      $7, '%0A'
         26        FREE                                                     ~8
    6    27        INIT_FCALL                                               'var_dump'
         28        INIT_FCALL                                               'strcmp'
         29        SEND_VAL                                                 'Narendra'
         30        SEND_VAL                                                 'narendra'
         31        DO_ICALL                                         $9      
         32        SEND_VAR                                                 $9
         33        DO_ICALL                                         $10     
         34        CONCAT                                           ~11     $10, '%0A'
         35        FREE                                                     ~11
         36      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.35 ms | 1396 KiB | 17 Q