3v4l.org

run code in 300+ PHP versions simultaneously
<?php setlocale(LC_ALL, 'en_US.UTF-8'); $string = 'ʿToday’s DEAL啦啦: $39.95 for travel bliss. Plus, modern furniture, versatile bedding & bath, artwork in every style, and…'; var_dump($string); var_dump(Normalizer::normalize($string, Normalizer::FORM_D)); // Expected output is 'Today's Deal: ...'
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/j2Ck4
function name:  (null)
number of ops:  17
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'setlocale'
          1        SEND_VAL                                                 6
          2        SEND_VAL                                                 'en_US.UTF-8'
          3        DO_ICALL                                                 
    5     4        ASSIGN                                                   !0, '%CA%BFToday%E2%80%99s+DEAL%E5%95%A6%E5%95%A6%3A+%2439.95+for+travel+bliss.+Plus%2C+modern+furniture%2C+versatile+bedding+%26+bath%2C+artwork+in+every+style%2C+and%E2%80%A6'
    7     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
    8     8        INIT_FCALL                                               'var_dump'
          9        INIT_STATIC_METHOD_CALL                                  'Normalizer', 'normalize'
         10        SEND_VAR_EX                                              !0
         11        FETCH_CLASS_CONSTANT                             ~4      'Normalizer', 'FORM_D'
         12        SEND_VAL_EX                                              ~4
         13        DO_FCALL                                      0  $5      
         14        SEND_VAR                                                 $5
         15        DO_ICALL                                                 
   10    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.29 ms | 1394 KiB | 17 Q