run code in 200+ PHP versions simultaneously
<?php function createTempDir(): ?string { $separator = DIRECTORY_SEPARATOR; $path = rtrim(sys_get_temp_dir(), $separator) . $separator . mt_rand() . microtime(true); $createdTempDir = mkdir($path); if ($createdTempDir) { return $path; } return null; } var_dump(createTempDir());
based on g5Klm

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for branch php-master
string(29) "/tmp/3002459561569575074.0002"
Output for branch php-master+opcache
string(30) "/tmp/14843909221569575074.0002"
Output for branch php-master+jit
string(30) "/tmp/19790119561569575074.0004"

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