3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = '(-6.268649975971238, 106.69106266990389),(-6.267711482694832, 106.72625325217928),(-6.288272630052733, 106.72736905112947),(-6.288699201273463, 106.69106266990389)'; foreach(explode('),(',trim($value,'()')) as $single_array){ $polygon[] = explode(',',$single_array); } var_export($polygon);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 10, Position 2 = 18
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 18
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
filename:       /in/UPK4f
function name:  (null)
number of ops:  23
compiled vars:  !0 = $value, !1 = $single_array, !2 = $polygon
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%28-6.268649975971238%2C+106.69106266990389%29%2C%28-6.267711482694832%2C+106.72625325217928%29%2C%28-6.288272630052733%2C+106.72736905112947%29%2C%28-6.288699201273463%2C+106.69106266990389%29'
    5     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%29%2C%28'
          3        INIT_FCALL                                               'trim'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 '%28%29'
          6        DO_ICALL                                         $4      
          7        SEND_VAR                                                 $4
          8        DO_ICALL                                         $5      
          9      > FE_RESET_R                                       $6      $5, ->18
         10    > > FE_FETCH_R                                               $6, !1, ->18
    6    11    >   INIT_FCALL                                               'explode'
         12        SEND_VAL                                                 '%2C'
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                         $8      
         15        ASSIGN_DIM                                               !2
         16        OP_DATA                                                  $8
    5    17      > JMP                                                      ->10
         18    >   FE_FREE                                                  $6
    8    19        INIT_FCALL                                               'var_export'
         20        SEND_VAR                                                 !2
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.45 ms | 1002 KiB | 16 Q