Quantcast
Channel: UselessCode.org Blog
Viewing all articles
Browse latest Browse all 27

Unexpected $end errors in create_function calls

$
0
0

I recently ran across an odd situation while working on a PHP based project. A couple of places I had to use create_function() to create anonymous functions as callbacks for content buffering with ob_start(). After editing one of my anonymous functions I started getting an error similar to this:


Viewing all articles
Browse latest Browse all 27

Trending Articles