3v4l.org

run code in 500+ PHP versions simultaneously
<?php $t=microtime(true); $c=@file_get_contents("https://api.ipify.org",false,stream_context_create(["http"=>["timeout"=>8]])); echo "NET:".($c!==false?$c:"FAIL")." T:".round(microtime(true)-$t,1);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 19
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2ILsT
function name:  (null)
number of ops:  33
compiled vars:  !0 = $t, !1 = $c
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    1     0  E >   INIT_FCALL                                                   'microtime'
          1        SEND_VAL                                                     <true>
          2        DO_ICALL                                             $2      
          3        ASSIGN                                                       !0, $2
          4        BEGIN_SILENCE                                        ~4      
          5        INIT_FCALL                                                   'file_get_contents'
          6        SEND_VAL                                                     'https%3A%2F%2Fapi.ipify.org'
          7        SEND_VAL                                                     <false>
          8        INIT_FCALL                                                   'stream_context_create'
          9        SEND_VAL                                                     <array>
         10        DO_ICALL                                             $5      
         11        SEND_VAR                                                     $5
         12        DO_ICALL                                             $6      
         13        END_SILENCE                                                  ~4
         14        ASSIGN                                                       !1, $6
         15        TYPE_CHECK                                      1018          !1
         16      > JMPZ                                                         ~8, ->19
         17    >   QM_ASSIGN                                            ~9      !1
         18      > JMP                                                          ->20
         19    >   QM_ASSIGN                                            ~9      'FAIL'
         20    >   CONCAT                                               ~10     'NET%3A', ~9
         21        CONCAT                                               ~11     ~10, '+T%3A'
         22        INIT_FCALL                                                   'round'
         23        INIT_FCALL                                                   'microtime'
         24        SEND_VAL                                                     <true>
         25        DO_ICALL                                             $12     
         26        SUB                                                  ~13     $12, !0
         27        SEND_VAL                                                     ~13
         28        SEND_VAL                                                     1
         29        DO_ICALL                                             $14     
         30        CONCAT                                               ~15     ~11, $14
         31        ECHO                                                         ~15
         32      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
130.59 ms | 483 KiB | 11 Q