3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(json_encode(json_decode('{"type":"Feature","properties":{},"geometry":{"type":"Point","coordinates":[42.1875,55.178867663281984]}}')));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RHY6C
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'json_encode'
          2        INIT_FCALL                                               'json_decode'
          3        SEND_VAL                                                 '%7B%22type%22%3A%22Feature%22%2C%22properties%22%3A%7B%7D%2C%22geometry%22%3A%7B%22type%22%3A%22Point%22%2C%22coordinates%22%3A%5B42.1875%2C55.178867663281984%5D%7D%7D'
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                         $1      
          7        SEND_VAR                                                 $1
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
196.92 ms | 1394 KiB | 19 Q