3v4l.org

run code in 500+ 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:  18
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        FRAMELESS_ICALL_2                trim                ~4      !0, '%28%29'
          5        SEND_VAL                                                     ~4
          6        DO_ICALL                                             $5      
          7        ASSIGN                                                       !1, $5
    6     8        INIT_FCALL                                                   'array_map'
          9        DECLARE_LAMBDA_FUNCTION                              ~7      [0]
         10        SEND_VAL                                                     ~7
         11        SEND_VAR                                                     !1
         12        DO_ICALL                                             $8      
         13        ASSIGN                                                       !2, $8
    7    14        INIT_FCALL                                                   'print_r'
         15        SEND_VAR                                                     !2
         16        DO_ICALL                                                     
         17      > 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:/in/fFAS0:6}
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.5.0


preferences:
173.89 ms | 2215 KiB | 16 Q