If the code do not satisfact the `if` or the `elseif` the `$parts` will include the `$condition` twice or cause a notice of undefined variable. Seems dangerous.