3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(0 ?? 3); // int(3) var_dump(false ?? 3); // int(3) var_dump('' ?? 3); // int(3)
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cJ44E
function name:  (null)
number of ops:  16
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        COALESCE                                         ~0      0
          2        QM_ASSIGN                                        ~0      3
          3        SEND_VAL                                                 ~0
          4        DO_ICALL                                                 
    4     5        INIT_FCALL                                               'var_dump'
          6        COALESCE                                         ~2      <false>
          7        QM_ASSIGN                                        ~2      3
          8        SEND_VAL                                                 ~2
          9        DO_ICALL                                                 
    5    10        INIT_FCALL                                               'var_dump'
         11        COALESCE                                         ~4      ''
         12        QM_ASSIGN                                        ~4      3
         13        SEND_VAL                                                 ~4
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.39 ms | 1394 KiB | 15 Q