3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.84 ms | 1395 KiB | 17 Q