3v4l.org

run code in 500+ PHP versions simultaneously
<?php try { $formatter = new IntlListFormatter('en', IntlListFormatter::TYPE_OR); } catch (Error $e) { echo $e->getMessage(); } echo PHP_EOL; $formatter = new IntlListFormatter('en', 1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 7
Branch analysis from position: 7
2 jumps found. (Code = 107) Position 1 = 8, Position 2 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/11aMq
function name:  (null)
number of ops:  18
compiled vars:  !0 = $formatter, !1 = $e
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E >   NEW                                                  $2      'IntlListFormatter'
          1        SEND_VAL_EX                                                  'en'
          2        FETCH_CLASS_CONSTANT                                 ~3      'IntlListFormatter', 'TYPE_OR'
          3        SEND_VAL_EX                                                  ~3
          4        DO_FCALL                                          0          
          5        ASSIGN                                                       !0, $2
          6      > JMP                                                          ->11
    5     7  E > > CATCH                                           last         'Error'
    6     8    >   INIT_METHOD_CALL                                             !1, 'getMessage'
          9        DO_FCALL                                          0  $6      
         10        ECHO                                                         $6
    9    11    >   ECHO                                                         '%0A'
   11    12        NEW                                                  $7      'IntlListFormatter'
         13        SEND_VAL_EX                                                  'en'
         14        SEND_VAL_EX                                                  1
         15        DO_FCALL                                          0          
         16        ASSIGN                                                       !0, $7
         17      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
146.99 ms | 1239 KiB | 13 Q