3v4l.org

run code in 300+ PHP versions simultaneously
<?php $drift = 'DRIFT TAXI BIERFEST 10:00 - 10:30'; $race = 'Race TAXI BIERFEST 09:00 - 09:30'; echo substr($drift, -13).PHP_EOL; echo trim(substr($drift, 0, 10)).PHP_EOL; echo trim(substr($race, 0, 10)).PHP_EOL;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8Yirb
function name:  (null)
number of ops:  29
compiled vars:  !0 = $drift, !1 = $race
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 'DRIFT+TAXI+BIERFEST+10%3A00+-+10%3A30'
    5     1        ASSIGN                                                   !1, 'Race+TAXI+BIERFEST+09%3A00+-+09%3A30'
    7     2        INIT_FCALL                                               'substr'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 -13
          5        DO_ICALL                                         $4      
          6        CONCAT                                           ~5      $4, '%0A'
          7        ECHO                                                     ~5
    8     8        INIT_FCALL                                               'trim'
          9        INIT_FCALL                                               'substr'
         10        SEND_VAR                                                 !0
         11        SEND_VAL                                                 0
         12        SEND_VAL                                                 10
         13        DO_ICALL                                         $6      
         14        SEND_VAR                                                 $6
         15        DO_ICALL                                         $7      
         16        CONCAT                                           ~8      $7, '%0A'
         17        ECHO                                                     ~8
    9    18        INIT_FCALL                                               'trim'
         19        INIT_FCALL                                               'substr'
         20        SEND_VAR                                                 !1
         21        SEND_VAL                                                 0
         22        SEND_VAL                                                 10
         23        DO_ICALL                                         $9      
         24        SEND_VAR                                                 $9
         25        DO_ICALL                                         $10     
         26        CONCAT                                           ~11     $10, '%0A'
         27        ECHO                                                     ~11
         28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.44 ms | 1395 KiB | 17 Q