fall-through

Command fall through in lex

I'm using lex in my program and I've run into a problem I need some help with. My program accepts its input in the form of [something " something]. This is working correctly. However, I also need to accept the form [something"something]. Is there a way that I can have some sort of first case in lex that all input is run through (like ...

Is it possible to use || in PHP switch?

switch ($foo) { case 3 || 5: bar(); break; case 2: apple(); break; } In the above code, is the first switch statement valid? I want it to call the function bar() if the value of $foo is either 3 or 5 ...