3v4l.org

run code in 300+ PHP versions simultaneously
<?php $j1 = '{ "title": "Example Schema", "type": "object", "properties": { "firstName": { "type": "string" }, "lastName": { "type": "string" }, "age": { "description": "Age in years", "type": "integer", "minimum": 0 } }, "required": ["firstName", "lastName"] }'; $d1 = json_decode($j1); print_r($d1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ho9as
function name:  (null)
number of ops:  9
compiled vars:  !0 = $j1, !1 = $d1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%7B%0A%09%22title%22%3A+%22Example+Schema%22%2C%0A%09%22type%22%3A+%22object%22%2C%0A%09%22properties%22%3A+%7B%0A%09%09%22firstName%22%3A+%7B%0A%09%09%09%22type%22%3A+%22string%22%0A%09%09%7D%2C%0A%09%09%22lastName%22%3A+%7B%0A%09%09%09%22type%22%3A+%22string%22%0A%09%09%7D%2C%0A%09%09%22age%22%3A+%7B%0A%09%09%09%22description%22%3A+%22Age+in+years%22%2C%0A%09%09%09%22type%22%3A+%22integer%22%2C%0A%09%09%09%22minimum%22%3A+0%0A%09%09%7D%0A%09%7D%2C%0A%09%22required%22%3A+%5B%22firstName%22%2C+%22lastName%22%5D%0A%7D'
   21     1        INIT_FCALL                                               'json_decode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
   22     5        INIT_FCALL                                               'print_r'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.24 ms | 1394 KiB | 17 Q