3v4l.org

run code in 300+ PHP versions simultaneously
<?php $enToFr = [ "JAN" => "Janvier", "FEB" => "Février", "MAR" => "Mars", "APR" => "Avril", "MAY" => "Mai", "JUN" => "Juin", "JUL" => "Juillet", "AUG" => "Août", "SEPT" => "Septembre", "OCT" => "Octobre", "NOV" => "Novembre", "DEC" => "Décembre" ]; $date = '01-MAY-11'; echo strtr($date, $enToFr);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6G1Vg
function name:  (null)
number of ops:  8
compiled vars:  !0 = $enToFr, !1 = $date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   18     1        ASSIGN                                                   !1, '01-MAY-11'
   20     2        INIT_FCALL                                               'strtr'
          3        SEND_VAR                                                 !1
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $4      
          6        ECHO                                                     $4
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.82 ms | 1008 KiB | 14 Q