3v4l.org

run code in 300+ PHP versions simultaneously
<?php // callcenter_is_manual = 1 if note contains "?" if (strrpos($reservation->getNote(), "?") !== false) { $restaurant->setCallcenterIsManual(true); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 11
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/3jp0m
function name:  (null)
number of ops:  12
compiled vars:  !0 = $reservation, !1 = $restaurant
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'strrpos'
          1        INIT_METHOD_CALL                                         !0, 'getNote'
          2        DO_FCALL                                      0  $2      
          3        SEND_VAR                                                 $2
          4        SEND_VAL                                                 '%3F'
          5        DO_ICALL                                         $3      
          6        TYPE_CHECK                                  1018          $3
          7      > JMPZ                                                     ~4, ->11
    6     8    >   INIT_METHOD_CALL                                         !1, 'setCallcenterIsManual'
          9        SEND_VAL_EX                                              <true>
         10        DO_FCALL                                      0          
    7    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.87 ms | 1385 KiB | 15 Q