Callback function - Can't get external changes in php callback?

WBOY
Release: 2016-10-10 11:56:16
Original
995 people have browsed it

The code is as follows (laravel sends email)
Callback function - Can't get external changes in php callback?

Reported an error

Callback function - Can't get external changes in php callback?

I remember that it can be used like this in js. Is it not possible in php? Is there any good way to use it this way?

Reply content:

The code is as follows (laravel sends email)
Callback function - Can't get external changes in php callback?

Reported an error

Callback function - Can't get external changes in php callback?

I remember that it can be used like this in js. Is it not possible in php? Is there any good way to use it this way?

<code>function($message) use ($name) {
}</code>
Copy after login

Don’t read the php documentation first, after all, php is not js.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!