3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user = ['name' => 'Мария и Алекс']; ?> <?= count(preg_split("\\s+", $user['name'])) > 1 ? "Мы идем!" : "Я иду!" ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3H8ho
function name:  (null)
number of ops:  14
compiled vars:  !0 = $user
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL                                               'preg_split'
          2        SEND_VAL                                                 '%5Cs%2B'
          3        FETCH_DIM_R                                      ~2      !0, 'name'
          4        SEND_VAL                                                 ~2
          5        DO_ICALL                                         $3      
          6        COUNT                                            ~4      $3
          7        IS_SMALLER                                               1, ~4
          8      > JMPZ                                                     ~5, ->11
          9    >   QM_ASSIGN                                        ~6      '%D0%9C%D1%8B+%D0%B8%D0%B4%D0%B5%D0%BC%21'
         10      > JMP                                                      ->12
         11    >   QM_ASSIGN                                        ~6      '%D0%AF+%D0%B8%D0%B4%D1%83%21'
         12    >   ECHO                                                     ~6
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.49 ms | 939 KiB | 16 Q