3v4l.org

run code in 300+ PHP versions simultaneously
<?php $vara = "hello"; $varb = "hell".o; echo(strcmp($vara,$varb));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/B2Gns
function name:  (null)
number of ops:  10
compiled vars:  !0 = $vara, !1 = $varb
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'hello'
    3     1        FETCH_CONSTANT                                   ~3      'o'
          2        CONCAT                                           ~4      'hell', ~3
          3        ASSIGN                                                   !1, ~4
    4     4        INIT_FCALL                                               'strcmp'
          5        SEND_VAR                                                 !0
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                         $6      
          8        ECHO                                                     $6
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.69 ms | 1385 KiB | 15 Q