3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = 'hhh'; $key = 'cool_test'; $test = $value ? : 'NOT_TRANSLATED|' . $key; var_dump($test);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cbBVQ
function name:  (null)
number of ops:  10
compiled vars:  !0 = $value, !1 = $key, !2 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'hhh'
    3     1        ASSIGN                                                   !1, 'cool_test'
    4     2        JMP_SET                                          ~5      !0, ->5
          3        CONCAT                                           ~6      'NOT_TRANSLATED%7C', !1
          4        QM_ASSIGN                                        ~5      ~6
          5        ASSIGN                                                   !2, ~5
    5     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !2
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.16 ms | 1394 KiB | 15 Q