3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $var = "Dorothée"; echo stripAccents($var); function stripAccents($string){ return strtr($string,'àáâãäçèéêëìíîïñòóôõöùúûüýÿÀÁÂÃÄÇÈÉÊËÌÍÎÏÑÒÓÔÕÖÙÚÛÜÝ','aaaaaceeeeiiiinooooouuuuyyAAAAACEEEEIIIINOOOOOUUUUY'); }
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/huGWC
function name:  (null)
number of ops:  7
compiled vars:  !0 = $var
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   ASSIGN                                                   !0, 'Doroth%C3%A9e'
   5     1        INIT_FCALL_BY_NAME                                       'stripAccents'
         2        SEND_VAR_EX                                              !0
         3        DO_FCALL                                      0  $2      
         4        ECHO                                                     $2
   7     5        NOP                                                      
   9     6      > RETURN                                                   1

Function stripaccents:
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/huGWC
function name:  stripAccents
number of ops:  8
compiled vars:  !0 = $string
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   7     0  E >   RECV                                             !0      
   8     1        INIT_FCALL                                               'strtr'
         2        SEND_VAR                                                 !0
         3        SEND_VAL                                                 '%C3%A0%C3%A1%C3%A2%C3%A3%C3%A4%C3%A7%C3%A8%C3%A9%C3%AA%C3%AB%C3%AC%C3%AD%C3%AE%C3%AF%C3%B1%C3%B2%C3%B3%C3%B4%C3%B5%C3%B6%C3%B9%C3%BA%C3%BB%C3%BC%C3%BD%C3%BF%C3%80%C3%81%C3%82%C3%83%C3%84%C3%87%C3%88%C3%89%C3%8A%C3%8B%C3%8C%C3%8D%C3%8E%C3%8F%C3%91%C3%92%C3%93%C3%94%C3%95%C3%96%C3%99%C3%9A%C3%9B%C3%9C%C3%9D'
         4        SEND_VAL                                                 'aaaaaceeeeiiiinooooouuuuyyAAAAACEEEEIIIINOOOOOUUUUY'
         5        DO_ICALL                                         $1      
         6      > RETURN                                                   $1
   9     7*     > RETURN                                                   null

End of function stripaccents

Generated using Vulcan Logic Dumper, using php 7.1.0