3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = "the number of letters in mississippi = 11"; $cp = $input; while( !(isdigit($cp++) ) ) ; echo atoi(--$cp),"\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 3
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
filename:       /in/njEqe
function name:  (null)
number of ops:  16
compiled vars:  !0 = $input, !1 = $cp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'the+number+of+letters+in+mississippi+%3D+11'
    4     1        ASSIGN                                                   !1, !0
    5     2      > JMP                                                      ->3
          3    >   INIT_FCALL_BY_NAME                                       'isdigit'
          4        POST_INC                                         ~4      !1
          5        SEND_VAL_EX                                              ~4
          6        DO_FCALL                                      0  $5      
          7        BOOL_NOT                                         ~6      $5
          8      > JMPNZ                                                    ~6, ->3
    7     9    >   INIT_FCALL_BY_NAME                                       'atoi'
         10        PRE_DEC                                          ~7      !1
         11        SEND_VAL_EX                                              ~7
         12        DO_FCALL                                      0  $8      
         13        ECHO                                                     $8
         14        ECHO                                                     '%0A'
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.07 ms | 1393 KiB | 13 Q