3v4l.org

run code in 500+ PHP versions simultaneously
<?php $decoded = html_entity_decode('&#65534;'); $result = preg_match('/./su', $decoded, $matches); var_dump($result); var_dump($matches); var_dump(PCRE_VERSION); if (!preg_match('/./su', $decoded)) { throw new \InvalidArgumentException("Received invalid UTF-8 for string column"); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 22, Position 2 = 26
Branch analysis from position: 22
1 jumps found. (Code = 108) Position 1 = -2
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ARKNe
function name:  (null)
number of ops:  27
compiled vars:  !0 = $decoded, !1 = $result, !2 = $matches
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'html_entity_decode'
          1        SEND_VAL                                                     '%26%2365534%3B'
          2        DO_ICALL                                             $3      
          3        ASSIGN                                                       !0, $3
    5     4        INIT_FCALL                                                   'preg_match'
          5        SEND_VAL                                                     '%2F.%2Fsu'
          6        SEND_VAR                                                     !0
          7        SEND_REF                                                     !2
          8        DO_ICALL                                             $5      
          9        ASSIGN                                                       !1, $5
    7    10        INIT_FCALL                                                   'var_dump'
         11        SEND_VAR                                                     !1
         12        DO_ICALL                                                     
    8    13        INIT_FCALL                                                   'var_dump'
         14        SEND_VAR                                                     !2
         15        DO_ICALL                                                     
    9    16        INIT_FCALL                                                   'var_dump'
         17        SEND_VAL                                                     '10.44+2024-06-07'
         18        DO_ICALL                                                     
   11    19        FRAMELESS_ICALL_2                preg_match          ~10     '%2F.%2Fsu', !0
         20        BOOL_NOT                                             ~11     ~10
         21      > JMPZ                                                         ~11, ->26
   13    22    >   NEW                                                  $12     'InvalidArgumentException'
         23        SEND_VAL_EX                                                  'Received+invalid+UTF-8+for+string+column'
         24        DO_FCALL                                          0          
         25      > THROW                                             0          $12
   14    26    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
180.88 ms | 3148 KiB | 16 Q