3v4l.org

run code in 300+ PHP versions simultaneously
<?php $the_query->found_posts = 2; if ($the_query->found_posts == 1) { echo "$the_query->found_posts car found"; } else { echo "$the_query->found_posts cars found"; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 10
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1VWTC
function name:  (null)
number of ops:  15
compiled vars:  !0 = $the_query
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_OBJ                                               !0, 'found_posts'
          1        OP_DATA                                                  2
    5     2        FETCH_OBJ_R                                      ~2      !0, 'found_posts'
          3        IS_EQUAL                                                 ~2, 1
          4      > JMPZ                                                     ~3, ->10
    7     5    >   FETCH_OBJ_R                                      ~4      !0, 'found_posts'
          6        NOP                                                      
          7        FAST_CONCAT                                      ~5      ~4, '+car+found'
          8        ECHO                                                     ~5
          9      > JMP                                                      ->14
   13    10    >   FETCH_OBJ_R                                      ~6      !0, 'found_posts'
         11        NOP                                                      
         12        FAST_CONCAT                                      ~7      ~6, '+cars+found'
         13        ECHO                                                     ~7
   15    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.17 ms | 1393 KiB | 13 Q