3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.13 ms | 1394 KiB | 15 Q