3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = preg_replace('/\s+/', '', '‪931 015 846'); var_dump($string); $numero = number_format($string); var_dump($numero);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/aTl5X
function name:  (null)
number of ops:  17
compiled vars:  !0 = $string, !1 = $numero
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'preg_replace'
          1        SEND_VAL                                                 '%2F%5Cs%2B%2F'
          2        SEND_VAL                                                 ''
          3        SEND_VAL                                                 '%E2%80%AA931+015+846'
          4        DO_ICALL                                         $2      
          5        ASSIGN                                                   !0, $2
    3     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
    4     9        INIT_FCALL                                               'number_format'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $5      
         12        ASSIGN                                                   !1, $5
    5    13        INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.83 ms | 1394 KiB | 19 Q