Download src/php/prep.sh from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 542 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/prep.sh
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/prep.sh
-
curl -L -o prep.sh https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/prep.sh
542 Bytes
| git clone \ | |
| https://github.com/php/php-src.git | |
| # | |
| export CFLAGS="$CFLAGS -fno-sanitize=object-size" | |
| export CXXFLAGS="$CXXFLAGS -fno-sanitize=object-size" | |
| export CFLAGS="$CFLAGS -DPROFITABILITY_CHECKS=0" | |
| ./buildconf --force | |
| ./configure $BUILD_FLAG \ | |
| --disable-all \ | |
| --enable-debug-assertions \ | |
| --enable-option-checking=fatal \ | |
| --enable-fuzzer \ | |
| --enable-exif \ | |
| --enable-opcache \ | |
| --without-pcre-jit \ | |
| --disable-phpdbg \ | |
| --disable-cgi \ | |
| --with-pic | |
| make | |
| sapi/cli/php sapi/fuzzer/generate_all.php |