>Not using "restrict" properly can lead to extremely hard-to-diagnose errors
But "restrict" is a low-level micro-optimization, those tend to be tricky. I don't think a sane C programmer would sprinkle that keyword all across the source base, because as you have pointed out it can cause hard-to-diagnose errors.
In contrast, the automatic conversions in JavaScript and PHP are an "always on" feature you cannot avoid.
The automatic conversions in JavaScript and PHP seem pretty harmless by comparison.