3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo shell_exec('/bin/php-'. phpversion(). ' --help');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/62K6J
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'shell_exec'
          1        INIT_FCALL                                               'phpversion'
          2        DO_ICALL                                         $0      
          3        CONCAT                                           ~1      '%2Fbin%2Fphp-', $0
          4        CONCAT                                           ~2      ~1, '+--help'
          5        SEND_VAL                                                 ~2
          6        DO_ICALL                                         $3      
          7        ECHO                                                     $3
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.21 ms | 1394 KiB | 17 Q