Name PHP specifiers in printf() strings
-
02-11-2019 - |
문제
Is there a way in PHP to name my specifiers like in Python?
I want this in PHP:
$foo = array('name' => 24);
printf("%(name)d", $foo);
I couldn't find nothing related on google or in the php manual.
올바른 솔루션이 없습니다
제휴하지 않습니다 StackOverflow