3v4l.org

run code in 300+ PHP versions simultaneously
<?php $host = 'carpetmonkey.the-dairy.com'; $up = ping($host); // if site is up, send them to the site. if( $up ) { print "Steph's printer is up and running, go for it."; } // otherwise, take them to another one of our sites and show them a descriptive message else { print "Don't hit print, Steph's needs to reboot the router. Call him."; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/E0qvr
function name:  (null)
number of ops:  10
compiled vars:  !0 = $host, !1 = $up
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'carpetmonkey.the-dairy.com'
    4     1        INIT_FCALL_BY_NAME                                       'ping'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0  $3      
          4        ASSIGN                                                   !1, $3
    7     5      > JMPZ                                                     !1, ->8
    8     6    >   ECHO                                                     'Steph%27s+printer+is+up+and+running%2C+go+for+it.'
          7      > JMP                                                      ->9
   12     8    >   ECHO                                                     'Don%27t+hit+print%2C+Steph%27s+needs+to+reboot+the+router.++Call+him.'
   15     9    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.37 ms | 1393 KiB | 13 Q