3v4l.org

run code in 300+ PHP versions simultaneously
<?php $latlon = "(42.32783298989135, -70.99989162915041)"; sscanf($latlon, '(%[^,], %[^)]', $lat, $lon); var_export([$lat, $lon]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/daAqb
function name:  (null)
number of ops:  13
compiled vars:  !0 = $latlon, !1 = $lat, !2 = $lon
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%2842.32783298989135%2C+-70.99989162915041%29'
    4     1        INIT_FCALL                                               'sscanf'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 '%28%25%5B%5E%2C%5D%2C+%25%5B%5E%29%5D'
          4        SEND_REF                                                 !1
          5        SEND_REF                                                 !2
          6        DO_ICALL                                                 
    5     7        INIT_FCALL                                               'var_export'
          8        INIT_ARRAY                                       ~5      !1
          9        ADD_ARRAY_ELEMENT                                ~5      !2
         10        SEND_VAL                                                 ~5
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.27 ms | 1010 KiB | 15 Q