3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '[{"lat":-2.1581795660883976,"lng":-79.90096002817154},{"lat":-2.171559596852916,"lng":-79.9018183350563},{"lat":-2.176448424731824,"lng":-79.89057451486588},{"lat":-2.1662419064644722,"lng":-79.88053232431412},{"lat":-2.156206859267206,"lng":-79.8930636048317},{"lat":-2.15835110569104,"lng":-79.90164667367935}]'; var_dump(json_decode($str));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/67681
function name:  (null)
number of ops:  8
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%5B%7B%22lat%22%3A-2.1581795660883976%2C%22lng%22%3A-79.90096002817154%7D%2C%7B%22lat%22%3A-2.171559596852916%2C%22lng%22%3A-79.9018183350563%7D%2C%7B%22lat%22%3A-2.176448424731824%2C%22lng%22%3A-79.89057451486588%7D%2C%7B%22lat%22%3A-2.1662419064644722%2C%22lng%22%3A-79.88053232431412%7D%2C%7B%22lat%22%3A-2.156206859267206%2C%22lng%22%3A-79.8930636048317%7D%2C%7B%22lat%22%3A-2.15835110569104%2C%22lng%22%3A-79.90164667367935%7D%5D'
    5     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'json_decode'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        SEND_VAR                                                 $2
          6        DO_ICALL                                                 
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.26 ms | 1385 KiB | 17 Q