Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nhumrich
27 days ago
|
parent
|
context
|
favorite
| on:
PEP 750 – Template Strings
Pretty sure PHP does not have this feature. Can you give me an example?
fshr
27 days ago
[–]
I believe that jab was that PHP has a bunch of ways to do similar things and Python, in their view, is turning out that way, too.
throwawayffffas
27 days ago
|
parent
[–]
On a more philosophical level php is this feature. At least as it was used originally and how it's mostly used today. PHP was and is embedded in html code. If you have a look at a wordpress file you are going to see something like this:
<?php ... ?><some_markup>...<? php ... ?><some_more_markup here>...
Consider applying for YC's Summer 2025 batch! Applications are open till May 13
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: