3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('SITE_URL', siteURL()); //returns http://example.com/dir/ define('CKEDITOR', SITE_URL.'plugins/ckeditor/ckeditor.js'); echo str_replace(SITE_URL,'',CKEDITOR);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sBXv1
function name:  (null)
number of ops:  21
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'SITE_URL'
          2        INIT_FCALL_BY_NAME                                       'siteURL'
          3        DO_FCALL                                      0  $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
    4     6        INIT_FCALL                                               'define'
          7        SEND_VAL                                                 'CKEDITOR'
          8        FETCH_CONSTANT                                   ~2      'SITE_URL'
          9        CONCAT                                           ~3      ~2, 'plugins%2Fckeditor%2Fckeditor.js'
         10        SEND_VAL                                                 ~3
         11        DO_ICALL                                                 
    8    12        INIT_FCALL                                               'str_replace'
         13        FETCH_CONSTANT                                   ~5      'SITE_URL'
         14        SEND_VAL                                                 ~5
         15        SEND_VAL                                                 ''
         16        FETCH_CONSTANT                                   ~6      'CKEDITOR'
         17        SEND_VAL                                                 ~6
         18        DO_ICALL                                         $7      
         19        ECHO                                                     $7
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.4 ms | 1395 KiB | 17 Q