3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test1 = strcmp('test', 'Test'); $test2 = ('test' > 'Test'); echo $test1 . '\\n' . $test2;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cat4N
function name:  (null)
number of ops:  10
compiled vars:  !0 = $test1, !1 = $test2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strcmp'
          1        SEND_VAL                                                 'test'
          2        SEND_VAL                                                 'Test'
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    5     5        ASSIGN                                                   !1, <true>
    9     6        CONCAT                                           ~5      !0, '%5Cn'
          7        CONCAT                                           ~6      ~5, !1
          8        ECHO                                                     ~6
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.42 ms | 1394 KiB | 15 Q