3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "715*RxZXfQva I have a badge machine and I'm not afraid to use it. Also a definite fan of Dogecoin and all related things."; $token = trim(substr($text, $startpos + strlen(VALIDATOR_ETSY_SUBJECT))); echo("token: " . $token);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tQNVQ
function name:  (null)
number of ops:  15
compiled vars:  !0 = $str, !1 = $token, !2 = $text, !3 = $startpos
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '715%2ARxZXfQva+I+have+a+badge+machine+and+I%27m+not+afraid+to+use+it.+Also+a+definite+fan+of+Dogecoin+and+all+related+things.'
    3     1        INIT_FCALL                                               'trim'
          2        INIT_FCALL                                               'substr'
          3        SEND_VAR                                                 !2
          4        FETCH_CONSTANT                                   ~5      'VALIDATOR_ETSY_SUBJECT'
          5        STRLEN                                           ~6      ~5
          6        ADD                                              ~7      !3, ~6
          7        SEND_VAL                                                 ~7
          8        DO_ICALL                                         $8      
          9        SEND_VAR                                                 $8
         10        DO_ICALL                                         $9      
         11        ASSIGN                                                   !1, $9
    4    12        CONCAT                                           ~11     'token%3A+', !1
         13        ECHO                                                     ~11
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.88 ms | 1394 KiB | 17 Q