3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump($collator = new Collator('Fuck yea!')); echo $coll->getErrorCode(); echo $coll->getErrorMessage();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/W6BKW
function name:  (null)
number of ops:  14
compiled vars:  !0 = $collator, !1 = $coll
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        NEW                                              $2      'Collator'
          2        SEND_VAL_EX                                              'Fuck+yea%21'
          3        DO_FCALL                                      0          
          4        ASSIGN                                           ~4      !0, $2
          5        SEND_VAL                                                 ~4
          6        DO_ICALL                                                 
    5     7        INIT_METHOD_CALL                                         !1, 'getErrorCode'
          8        DO_FCALL                                      0  $6      
          9        ECHO                                                     $6
    6    10        INIT_METHOD_CALL                                         !1, 'getErrorMessage'
         11        DO_FCALL                                      0  $7      
         12        ECHO                                                     $7
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.7 ms | 1394 KiB | 15 Q