Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
You are confusing something. Everything works as it should))
sandbox.onlinephpfunctions.com/code/70be2193249cd7...
foreach([ 4, 6, 12, 34 ] as $delivery_id ){
echo "{$delivery_id}; ";
echo $delivery_id !== 0 ? "не равно 0; " : "равно 0; ";
echo intval($delivery_id) <= 0 ? 'меньше чем 0; ' : 'больше чем 0; ';
if($delivery_id !== 0 && intval($delivery_id) <= 0){
echo "отрицательное\n";
}else{
echo "положительное\n";
}
}
Well, on whose behalf the script is launched - he writes. Apache is standard. And then how do you set it up?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question