3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = Null; $alpha = $string ?? 'No Input'; $left = -15; $right = -30; echo $left <=> $right; echo '\0'; echo $alpha;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1HZ21
function name:  (null)
number of ops:  11
compiled vars:  !0 = $string, !1 = $alpha, !2 = $left, !3 = $right
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, null
    3     1        COALESCE                                         ~5      !0
          2        QM_ASSIGN                                        ~5      'No+Input'
          3        ASSIGN                                                   !1, ~5
    4     4        ASSIGN                                                   !2, -15
    5     5        ASSIGN                                                   !3, -30
    6     6        SPACESHIP                                        ~9      !2, !3
          7        ECHO                                                     ~9
    7     8        ECHO                                                     '%5C0'
    8     9        ECHO                                                     !1
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.34 ms | 1393 KiB | 13 Q