3v4l.org

run code in 300+ PHP versions simultaneously
<?php $children = 1; echo '\n' . $children . ' Kind' . ($children !== 1 ?: 'er'); $children = 2; echo '\n' . $children . ' Kind' . ($children !== 1 ?: 'er');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rebou
function name:  (null)
number of ops:  17
compiled vars:  !0 = $children
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1
    4     1        CONCAT                                           ~2      '%5Cn', !0
          2        CONCAT                                           ~3      ~2, '+Kind'
          3        IS_NOT_IDENTICAL                                 ~4      !0, 1
          4        JMP_SET                                          ~5      ~4, ->6
          5        QM_ASSIGN                                        ~5      'er'
          6        CONCAT                                           ~6      ~3, ~5
          7        ECHO                                                     ~6
    6     8        ASSIGN                                                   !0, 2
    7     9        CONCAT                                           ~8      '%5Cn', !0
         10        CONCAT                                           ~9      ~8, '+Kind'
         11        IS_NOT_IDENTICAL                                 ~10     !0, 1
         12        JMP_SET                                          ~11     ~10, ->14
         13        QM_ASSIGN                                        ~11     'er'
         14        CONCAT                                           ~12     ~9, ~11
         15        ECHO                                                     ~12
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.66 ms | 1393 KiB | 13 Q