mirror of
https://github.com/pmmp/PHP-Binaries.git
synced 2025-03-01 02:21:12 +00:00
9 lines
212 B
Bash
9 lines
212 B
Bash
#!/bin/bash
|
|
|
|
OUTPUT=$("$PHP_BINARIES" -r 'class MyThread extends Thread{ public function run(){ echo 1; }} $t = new MyThread; $t->start(); $t->join(); echo "1";')
|
|
|
|
if [ "$OUTPUT" != "1" ]; then
|
|
exit 1
|
|
fi
|
|
|
|
exit 0 |