9 lines
148 B
Bash
9 lines
148 B
Bash
#!/bin/bash
|
|
for i in examples/*.php; do
|
|
php $i
|
|
if [ $? != 0 ]; then
|
|
echo "Error running example code";
|
|
exit -1
|
|
fi;
|
|
done
|