3v4l.org

run code in 300+ PHP versions simultaneously
<?php function TarihTr($zaman) { $gunler = array("Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe","Cuma", "Cumartesi"); $aylar = array("", "Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran","Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık"); return date("d ", $zaman).$aylar[date("n", $zaman)].date(" Y ", $zaman).$gunler[date("w", $zaman)]; } //Kullanım Şekli echo TarihTr(time()); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/epp6T
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_FCALL                                               'tarihtr'
          1        INIT_FCALL                                               'time'
          2        DO_ICALL                                         $0      
          3        SEND_VAR                                                 $0
          4        DO_FCALL                                      0  $1      
          5        ECHO                                                     $1
   10     6      > RETURN                                                   1

Function tarihtr:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/epp6T
function name:  TarihTr
number of ops:  26
compiled vars:  !0 = $zaman, !1 = $gunler, !2 = $aylar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    3     1        ASSIGN                                                   !1, <array>
    4     2        ASSIGN                                                   !2, <array>
    6     3        INIT_FCALL                                               'date'
          4        SEND_VAL                                                 'd+'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $5      
          7        INIT_FCALL                                               'date'
          8        SEND_VAL                                                 'n'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $6      
         11        FETCH_DIM_R                                      ~7      !2, $6
         12        CONCAT                                           ~8      $5, ~7
         13        INIT_FCALL                                               'date'
         14        SEND_VAL                                                 '+Y+'
         15        SEND_VAR                                                 !0
         16        DO_ICALL                                         $9      
         17        CONCAT                                           ~10     ~8, $9
         18        INIT_FCALL                                               'date'
         19        SEND_VAL                                                 'w'
         20        SEND_VAR                                                 !0
         21        DO_ICALL                                         $11     
         22        FETCH_DIM_R                                      ~12     !1, $11
         23        CONCAT                                           ~13     ~10, ~12
         24      > RETURN                                                   ~13
    7    25*     > RETURN                                                   null

End of function tarihtr

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
187.35 ms | 1399 KiB | 18 Q