3v4l.org

run code in 500+ PHP versions simultaneously
<?php $num = strrev('۱۲۳۴۵۶۷۸۹۰'); $newNum = strrev(wordwrap($num , 6 , ',' , true )); echo $newNum;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OVeQQ
function name:  (null)
number of ops:  16
compiled vars:  !0 = $num, !1 = $newNum
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                                   'strrev'
          1        SEND_VAL                                                     '%DB%B1%DB%B2%DB%B3%DB%B4%DB%B5%DB%B6%DB%B7%DB%B8%DB%B9%DB%B0'
          2        DO_ICALL                                             $2      
          3        ASSIGN                                                       !0, $2
    5     4        INIT_FCALL                                                   'strrev'
          5        INIT_FCALL                                                   'wordwrap'
          6        SEND_VAR                                                     !0
          7        SEND_VAL                                                     6
          8        SEND_VAL                                                     '%2C'
          9        SEND_VAL                                                     <true>
         10        DO_ICALL                                             $4      
         11        SEND_VAR                                                     $4
         12        DO_ICALL                                             $5      
         13        ASSIGN                                                       !1, $5
    7    14        ECHO                                                         !1
    8    15      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
227.2 ms | 2045 KiB | 15 Q