Posts by FURIUS • 53 points
1 post
-
5
votes1
answer67
viewsQ: What is the syntax that comes before the variable name in function parameters?
Reading the PHP documentation I came across the following example: function bar(A $a = null, $b) {} // Ainda permitido function bar(?A $a, $b) {} // Recomendado I did a little digging and figured…