3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface LocaleAwareInterface { public function setLocale(string $locale); public function getLocale(); } interface TranslatorInterface extends LocaleAwareInterface { public function trans($id, array $parameters = [], $domain = null, $locale = null); public function transChoice($id, $number, array $parameters = [], $domain = null, $locale = null); public function setLocale($locale); public function getLocale(); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WQhqq
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   DECLARE_CLASS                                            'translatorinterface'
   19     1      > RETURN                                                   1

Class LocaleAwareInterface:
Function setlocale:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WQhqq
function name:  setLocale
number of ops:  2
compiled vars:  !0 = $locale
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
          1      > RETURN                                                   null

End of function setlocale

Function getlocale:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WQhqq
function name:  getLocale
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E > > RETURN                                                   null

End of function getlocale

End of class LocaleAwareInterface.

Class TranslatorInterface:
Function trans:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WQhqq
function name:  trans
number of ops:  5
compiled vars:  !0 = $id, !1 = $parameters, !2 = $domain, !3 = $locale
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      <array>
          2        RECV_INIT                                        !2      null
          3        RECV_INIT                                        !3      null
          4      > RETURN                                                   null

End of function trans

Function transchoice:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WQhqq
function name:  transChoice
number of ops:  6
compiled vars:  !0 = $id, !1 = $number, !2 = $parameters, !3 = $domain, !4 = $locale
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV_INIT                                        !2      <array>
          3        RECV_INIT                                        !3      null
          4        RECV_INIT                                        !4      null
          5      > RETURN                                                   null

End of function transchoice

Function setlocale:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WQhqq
function name:  setLocale
number of ops:  2
compiled vars:  !0 = $locale
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   RECV                                             !0      
          1      > RETURN                                                   null

End of function setlocale

Function getlocale:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WQhqq
function name:  getLocale
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   18     0  E > > RETURN                                                   null

End of function getlocale

End of class TranslatorInterface.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
184.3 ms | 944 KiB | 14 Q