mirror of
https://github.com/php/pie.git
synced 2026-03-23 23:12:17 +01:00
14 lines
970 B
Bash
Executable File
14 lines
970 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# These should be implicitly filtered out by PIE
|
|
echo "PHP Warning: PHP Startup: Unable to load dynamic library 'redis' (tried: /path/to/redis (dlopen(/path/to/redis, 0x0009): [...] in Unknown on line 0"
|
|
echo "" # add some newlines...
|
|
echo "Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /path/to/pdo_mysql (/path/to/pdo_mysql: cannot open shared object file: No such file or directory), /path/to/pdo_mysql.so (/path/to/pdo_mysql.so: undefined symbol: mysqlnd_debug_std_no_trace_funcs)) in Unknown on line 0"
|
|
echo " " # add some whitespace...
|
|
echo "Deprecated: Function unsafe_function() is deprecated since 1.5, use safe_replacement() instead in example.php on line 9"
|
|
echo "Deprecated: PHP Startup: session.sid_length INI setting is deprecated in Unknown on line 0"
|
|
echo "PHP Deprecated: PHP Startup: session.sid_length INI setting is deprecated in Unknown on line 0"
|
|
|
|
# This is the expected output of PIE:
|
|
echo "PHP";
|