3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = '3459965'; $d = strrev($d); echo substr($d, 3) . "." . substr($d, 6) . "." . substr($d, 9);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/C5O6H
function name:  (null)
number of ops:  23
compiled vars:  !0 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '3459965'
          1        INIT_FCALL                                               'strrev'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    3     5        INIT_FCALL                                               'substr'
          6        SEND_VAR                                                 !0
          7        SEND_VAL                                                 3
          8        DO_ICALL                                         $4      
          9        CONCAT                                           ~5      $4, '.'
         10        INIT_FCALL                                               'substr'
         11        SEND_VAR                                                 !0
         12        SEND_VAL                                                 6
         13        DO_ICALL                                         $6      
         14        CONCAT                                           ~7      ~5, $6
         15        CONCAT                                           ~8      ~7, '.'
         16        INIT_FCALL                                               'substr'
         17        SEND_VAR                                                 !0
         18        SEND_VAL                                                 9
         19        DO_ICALL                                         $9      
         20        CONCAT                                           ~10     ~8, $9
         21        ECHO                                                     ~10
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.46 ms | 1395 KiB | 17 Q