3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = '(-6.2811957386588855, 106.70141951079609),(-6.281142416506361, 106.70432702536823),(-6.2781776962328815, 106.70438066954853),(-6.2781776962328815, 106.70136586661579)'; echo '<pre>'; $r = explode('),(',trim($value,'()')); $c = array_map(function($v){return explode(',',$v);}, $r); print_r($c);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fFAS0
function name:  (null)
number of ops:  21
compiled vars:  !0 = $value, !1 = $r, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%28-6.2811957386588855%2C+106.70141951079609%29%2C%28-6.281142416506361%2C+106.70432702536823%29%2C%28-6.2781776962328815%2C+106.70438066954853%29%2C%28-6.2781776962328815%2C+106.70136586661579%29'
    4     1        ECHO                                                     '%3Cpre%3E'
    5     2        INIT_FCALL                                               'explode'
          3        SEND_VAL                                                 '%29%2C%28'
          4        INIT_FCALL                                               'trim'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 '%28%29'
          7        DO_ICALL                                         $4      
          8        SEND_VAR                                                 $4
          9        DO_ICALL                                         $5      
         10        ASSIGN                                                   !1, $5
    6    11        INIT_FCALL                                               'array_map'
         12        DECLARE_LAMBDA_FUNCTION                          ~7      [0]
         13        SEND_VAL                                                 ~7
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                         $8      
         16        ASSIGN                                                   !2, $8
    7    17        INIT_FCALL                                               'print_r'
         18        SEND_VAR                                                 !2
         19        DO_ICALL                                                 
         20      > RETURN                                                   1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fFAS0
function name:  {closure}
number of ops:  7
compiled vars:  !0 = $v
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV                                             !0      
          1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%2C'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $1      
          5      > RETURN                                                   $1
          6*     > RETURN                                                   null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.94 ms | 1009 KiB | 17 Q