I'm having 3 variables.
+----------+---------+-------+---------+
| a | b | c | output |
+----------+---------+-------+---------+
| 0 | 0 | 0 | 1 |
| 0 | 0 | 1 | 1 |
| 0 | 1 | 0 | 1 |
| 1 | 0 | 0 | 1 |
| 0 | 1 | 1 | 0 |
| 1 | 0 | 1 | 0 |
| 1 | 1 | 0 | 0 |
| 1 | 1 | 1 | 0 |
+----------+---------+-------+---------+
I want to apply this operation in If condition in PHP. That should be fastest one. So make it simple.
Note: Last condition(1,1,1) result 1, also no problem for me.
Aucun commentaire:
Enregistrer un commentaire