If I want to ignore something in python I usually just put pass
example
if a > b:
pass
how do i do something similar in php?
If I want to ignore something in python I usually just put pass
example
if a > b:
pass
how do i do something similar in php?
There's no need for something similar.
https://www.w3schools.com/python/ref_keyword_pass.asp states:
When the pass statement is executed, nothing happens, but you avoid getting an error when empty code is not allowed. Empty code is not allowed in loops, function definitions, class definitions, or in if statements.
But in PHP emtpty code is allowed.