<?php $x = 0.0001; for ($i = 0; $i <= 1000000; $i++) { $x += sqrt($x); } echo "OK!"; ?>
50K+
~# cat > Dockerfile <<EOF
FROM php:5-apache
COPY index.php /var/www/html/index.php
RUN chmod a+rx index.php
EOF
~# cat > index.php <<'EOF'
<?php
$x = 0.0001;
for ($i = 0; $i <= 1000000; $i++) {
$x += sqrt($x);
}
echo "OK!";
?>
EOF
Content type
Image
Digest
Size
123.6 MB
Last updated
about 4 years ago
docker pull anigkus/php-apache