3v4l.org

run code in 300+ PHP versions simultaneously
<?php $degisken = "Nisantasi"; $harfler=str_split($degisken,1); $toplam = 0; $degisken_uzunlugu = strlen($degisken); for($i=0; $i<$degisken_uzunlugu; $i++){ $ascii = ord($harfler[$i]); $toplam += $ascii; } echo "Nisantasi kelimesinin harflerinin ASCII karşılıklarının toplamı = ".$toplam; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 11
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 11
Branch analysis from position: 20
Branch analysis from position: 11
filename:       /in/3DN45
function name:  (null)
number of ops:  23
compiled vars:  !0 = $degisken, !1 = $harfler, !2 = $toplam, !3 = $degisken_uzunlugu, !4 = $i, !5 = $ascii
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Nisantasi'
    4     1        INIT_FCALL                                               'str_split'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 1
          4        DO_ICALL                                         $7      
          5        ASSIGN                                                   !1, $7
    5     6        ASSIGN                                                   !2, 0
    7     7        STRLEN                                           ~10     !0
          8        ASSIGN                                                   !3, ~10
    9     9        ASSIGN                                                   !4, 0
         10      > JMP                                                      ->18
   11    11    >   INIT_FCALL                                               'ord'
         12        FETCH_DIM_R                                      ~13     !1, !4
         13        SEND_VAL                                                 ~13
         14        DO_ICALL                                         $14     
         15        ASSIGN                                                   !5, $14
   13    16        ASSIGN_OP                                     1          !2, !5
    9    17        PRE_INC                                                  !4
         18    >   IS_SMALLER                                               !4, !3
         19      > JMPNZ                                                    ~18, ->11
   17    20    >   CONCAT                                           ~19     'Nisantasi+kelimesinin+harflerinin+ASCII+kar%C5%9F%C4%B1l%C4%B1klar%C4%B1n%C4%B1n+toplam%C4%B1+%3D+', !2
         21        ECHO                                                     ~19
   19    22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.64 ms | 1395 KiB | 17 Q