3v4l.org

run code in 300+ PHP versions simultaneously
<?php $urlTestsList= "http://test.psychologies.com/export/last-tests/30"; $jsonTestsList = file_get_contents($urlTestsList); $tests = json_decode($jsonTestsList); var_dump($urlTestsList); die; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/nbo91
function name:  (null)
number of ops:  14
compiled vars:  !0 = $urlTestsList, !1 = $jsonTestsList, !2 = $tests
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Ftest.psychologies.com%2Fexport%2Flast-tests%2F30'
    3     1        INIT_FCALL                                               'file_get_contents'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
    5     5        INIT_FCALL                                               'json_decode'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                         $6      
          8        ASSIGN                                                   !2, $6
    7     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
    8    12      > EXIT                                                     
    9    13*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.41 ms | 1394 KiB | 19 Q