3v4l.org

run code in 300+ PHP versions simultaneously
<?php ob_start(); $commandes = [ ['rm', '/etc/localtime'], ['ln', '-s', '/usr/share/zoneinfo/Europe/Paris', '/etc/localtime'], ['apt-get', 'update'], ['apt-get', '-y', 'upgrade'], ['debconf-set-selections', '/root/ldap_auth_config.debconf'], ['apt-get', 'install', '-y', 'ldap-auth-client', 'nscd'], ['auth-client-config', '-t','nss', '-p', 'lac_ldap'], ['apt-get', '-y', 'install', 'php', 'apache2', 'libapache2-mod-php'], ]; foreach($commandes as $command) { $outtext = sprintf ("Executing : %s\r\n", implode (' ', $command)); printf ("%x\r\n%s", strlen($outtext), $outtext); ob_flush(); flush(); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 25
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 25
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 25
filename:       /in/PCIrc
function name:  (null)
number of ops:  27
compiled vars:  !0 = $commandes, !1 = $command, !2 = $outtext
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'ob_start'
          1        DO_ICALL                                                 
    4     2        ASSIGN                                                   !0, <array>
   14     3      > FE_RESET_R                                       $5      !0, ->25
          4    > > FE_FETCH_R                                               $5, !1, ->25
   15     5    >   INIT_FCALL                                               'sprintf'
          6        SEND_VAL                                                 'Executing+%3A+%25s%0D%0A'
          7        INIT_FCALL                                               'implode'
          8        SEND_VAL                                                 '+'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $6      
         11        SEND_VAR                                                 $6
         12        DO_ICALL                                         $7      
         13        ASSIGN                                                   !2, $7
   16    14        INIT_FCALL                                               'printf'
         15        SEND_VAL                                                 '%25x%0D%0A%25s'
         16        STRLEN                                           ~9      !2
         17        SEND_VAL                                                 ~9
         18        SEND_VAR                                                 !2
         19        DO_ICALL                                                 
   17    20        INIT_FCALL                                               'ob_flush'
         21        DO_ICALL                                                 
   18    22        INIT_FCALL                                               'flush'
         23        DO_ICALL                                                 
   14    24      > JMP                                                      ->4
         25    >   FE_FREE                                                  $5
   19    26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.56 ms | 1395 KiB | 25 Q