3v4l.org

run code in 300+ PHP versions simultaneously
<?php header ('Transfer-encoding: chunked'); flush(); 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(); }
Output for git.master, git.master_jit, rfc.property-hooks
1f Executing : rm /etc/localtime 43 Executing : ln -s /usr/share/zoneinfo/Europe/Paris /etc/localtime 1c Executing : apt-get update 20 Executing : apt-get -y upgrade 43 Executing : debconf-set-selections /root/ldap_auth_config.debconf 36 Executing : apt-get install -y ldap-auth-client nscd 33 Executing : auth-client-config -t nss -p lac_ldap 3f Executing : apt-get -y install php apache2 libapache2-mod-php

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
59.29 ms | 402 KiB | 8 Q