3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( new BCMath\Number(-1) < 0, new BCMath\Number(-1) < '0.2', new BCMath\Number(-1) < new BCMath\Number(3), );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UFLV9
function name:  (null)
number of ops:  21
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
    4     1        NEW                                              $0      'BCMath%5CNumber'
          2        SEND_VAL_EX                                              -1
          3        DO_FCALL                                      0          
          4        IS_SMALLER                                       ~2      $0, 0
          5        SEND_VAL                                                 ~2
    5     6        NEW                                              $3      'BCMath%5CNumber'
          7        SEND_VAL_EX                                              -1
          8        DO_FCALL                                      0          
          9        IS_SMALLER                                       ~5      $3, '0.2'
         10        SEND_VAL                                                 ~5
    6    11        NEW                                              $6      'BCMath%5CNumber'
         12        SEND_VAL_EX                                              -1
         13        DO_FCALL                                      0          
         14        NEW                                              $8      'BCMath%5CNumber'
         15        SEND_VAL_EX                                              3
         16        DO_FCALL                                      0          
         17        IS_SMALLER                                       ~10     $6, $8
         18        SEND_VAL                                                 ~10
    3    19        DO_ICALL                                                 
    7    20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
134.72 ms | 1009 KiB | 14 Q