3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(urlencode(get_class(new class extends stdClass {}) . " some other string"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/978e7
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'urlencode'
          2        DECLARE_ANON_CLASS                               <true>  'stdclass'
          3        NEW                                              $1      $0
          4        DO_FCALL                                      0          
          5        GET_CLASS                                        ~3      $1
          6        CONCAT                                           ~4      ~3, '+some+other+string'
          7        SEND_VAL                                                 ~4
          8        DO_ICALL                                         $5      
          9        SEND_VAR                                                 $5
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Class stdClass@anonymous: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.12 ms | 1398 KiB | 17 Q