3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.66 ms | 1393 KiB | 15 Q