Jump to content

Watch out for w3schools


Martijn Geerts
 Share

Recommended Posts

I was searching for array_filter function. ( Don't know why cause I know what it does, stupid me :-) )

The first link was from W3Schools.

w3schools.com/php/func_array_filter.asp They state:

array                   Required. Specifies the array to filter
callbackfunction        Required. Specifies the callback function to use

But, the callback function is not required, If no callback is supplied, all entries of array equal to (bool) FALSE will be removed. 

Beware of W3Schools, this is not the first time I see faulty information. (They only want to make money)

end of the warning  >:D

Link to comment
Share on other sites

This isn't the first time they have been noted for inaccuracies. In fact, there is a whole cause behind it - W3Fools.

Usually, such things are better catered for by pages on Mozilla MDN.

We are passionate about the web, learning, and craftsmanship. We want you, as web designers and developers, to be successful in your careers. We feel, though, that W3Schools is harming the community with inaccurate information. Like any other authoritative educational resource, W3Schools should both hold itself to, and be held to, the highest standards.

We hope we can illuminate why W3Schools is a troublesome resource, why their faulty information is a detriment to the web, and what you (and they) can do about it.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...