3v4l.org

run code in 300+ PHP versions simultaneously
<?php $server = "78.225.196.182"; echo exec("ping ".$server." -c 3 -W 1 | grep time=",$output); echo "$output[0]";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RNS5o
function name:  (null)
number of ops:  12
compiled vars:  !0 = $server, !1 = $output
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '78.225.196.182'
    4     1        INIT_FCALL                                               'exec'
          2        CONCAT                                           ~3      'ping+', !0
          3        CONCAT                                           ~4      ~3, '+-c+3+-W+1+%7C+grep+time%3D'
          4        SEND_VAL                                                 ~4
          5        SEND_REF                                                 !1
          6        DO_ICALL                                         $5      
          7        ECHO                                                     $5
    5     8        FETCH_DIM_R                                      ~6      !1, 0
          9        CAST                                          6  ~7      ~6
         10        ECHO                                                     ~7
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.97 ms | 1394 KiB | 15 Q