This is all IMNSOHO:
PHP3 was really the genesis of "PHP" which was 1997 with a decent parser, and I think the first version of what people refer to as "PHP" was PHP4 in 1999 with mainstream adoption in 2000. Many places were still doing VB6 with MS Access data stores.
So by the logic of your own opinion, Javascript would be seen as even less of a mature language than PHP because the "genesis" of JS was really the V8 engine and Node, which didn't happen until 2008-2009.