3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tag = 'en_US'; $r = enchant_broker_init(); $bprovides = enchant_broker_describe($r); echo "Current broker provides the following backend(s):\n"; print_r($bprovides); $dicts = enchant_broker_list_dicts($r); print_r($dicts); if (enchant_broker_dict_exists($r,$tag)) { $d = enchant_broker_request_dict($r, $tag); $dprovides = enchant_dict_describe($d); echo "dictionary $tag provides:\n"; $wordcorrect = enchant_dict_check($d, "soong"); print_r($dprovides); if (!$wordcorrect) { $suggs = enchant_dict_suggest($d, "soong"); echo "Suggestions for 'soong':"; print_r($suggs); } enchant_broker_free_dict($d); } else { } enchant_broker_free($r);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 24, Position 2 = 60
Branch analysis from position: 24
2 jumps found. (Code = 43) Position 1 = 47, Position 2 = 56
Branch analysis from position: 47
1 jumps found. (Code = 42) Position 1 = 60
Branch analysis from position: 60
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 56
Branch analysis from position: 60
filename:       /in/X3csc
function name:  (null)
number of ops:  64
compiled vars:  !0 = $tag, !1 = $r, !2 = $bprovides, !3 = $dicts, !4 = $d, !5 = $dprovides, !6 = $wordcorrect, !7 = $suggs
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'en_US'
    3     1        INIT_FCALL_BY_NAME                                       'enchant_broker_init'
          2        DO_FCALL                                      0  $9      
          3        ASSIGN                                                   !1, $9
    4     4        INIT_FCALL_BY_NAME                                       'enchant_broker_describe'
          5        SEND_VAR_EX                                              !1
          6        DO_FCALL                                      0  $11     
          7        ASSIGN                                                   !2, $11
    5     8        ECHO                                                     'Current+broker+provides+the+following+backend%28s%29%3A%0A'
    6     9        INIT_FCALL                                               'print_r'
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                                 
    8    12        INIT_FCALL_BY_NAME                                       'enchant_broker_list_dicts'
         13        SEND_VAR_EX                                              !1
         14        DO_FCALL                                      0  $14     
         15        ASSIGN                                                   !3, $14
    9    16        INIT_FCALL                                               'print_r'
         17        SEND_VAR                                                 !3
         18        DO_ICALL                                                 
   10    19        INIT_FCALL_BY_NAME                                       'enchant_broker_dict_exists'
         20        SEND_VAR_EX                                              !1
         21        SEND_VAR_EX                                              !0
         22        DO_FCALL                                      0  $17     
         23      > JMPZ                                                     $17, ->60
   11    24    >   INIT_FCALL_BY_NAME                                       'enchant_broker_request_dict'
         25        SEND_VAR_EX                                              !1
         26        SEND_VAR_EX                                              !0
         27        DO_FCALL                                      0  $18     
         28        ASSIGN                                                   !4, $18
   12    29        INIT_FCALL_BY_NAME                                       'enchant_dict_describe'
         30        SEND_VAR_EX                                              !4
         31        DO_FCALL                                      0  $20     
         32        ASSIGN                                                   !5, $20
   13    33        ROPE_INIT                                     3  ~23     'dictionary+'
         34        ROPE_ADD                                      1  ~23     ~23, !0
         35        ROPE_END                                      2  ~22     ~23, '+provides%3A%0A'
         36        ECHO                                                     ~22
   14    37        INIT_FCALL_BY_NAME                                       'enchant_dict_check'
         38        SEND_VAR_EX                                              !4
         39        SEND_VAL_EX                                              'soong'
         40        DO_FCALL                                      0  $25     
         41        ASSIGN                                                   !6, $25
   15    42        INIT_FCALL                                               'print_r'
         43        SEND_VAR                                                 !5
         44        DO_ICALL                                                 
   16    45        BOOL_NOT                                         ~28     !6
         46      > JMPZ                                                     ~28, ->56
   17    47    >   INIT_FCALL_BY_NAME                                       'enchant_dict_suggest'
         48        SEND_VAR_EX                                              !4
         49        SEND_VAL_EX                                              'soong'
         50        DO_FCALL                                      0  $29     
         51        ASSIGN                                                   !7, $29
   18    52        ECHO                                                     'Suggestions+for+%27soong%27%3A'
   19    53        INIT_FCALL                                               'print_r'
         54        SEND_VAR                                                 !7
         55        DO_ICALL                                                 
   21    56    >   INIT_FCALL_BY_NAME                                       'enchant_broker_free_dict'
         57        SEND_VAR_EX                                              !4
         58        DO_FCALL                                      0          
         59      > JMP                                                      ->60
   24    60    >   INIT_FCALL_BY_NAME                                       'enchant_broker_free'
         61        SEND_VAR_EX                                              !1
         62        DO_FCALL                                      0          
         63      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.05 ms | 1405 KiB | 15 Q