Home >Backend Development >PHP Tutorial >CrossPHP 153 released, lightweight PHP development framework
1.5.3 update instructions
Add Rest::any(), match all request types
<code>$app = Cross\Core\Delegate::loadApp('web'); $rest = $app->rest(); $rest->any('/', function(){ echo 'hi'; }); $rest->run(); </code>
2. Optimize
RemoveDelegate::mRun()
, by function The more powerful Delegate::rest()
replaces
ClosureContainer::isRegister()
renamed to ClosureContainer::has()
Rest is case-sensitive when matching URLs, and promotion is not carried out Performance under parameter matching
ImageThumb
When generating thumbnails, increase quality parameters
Reduce static member variables in FrameBase and use anonymous function containers to pass parameters
Optimize decryption with question marks BUG that parameters cause decryption failure
3. skeleton
admin default style changed to adminLTE
The above introduces the release of CrossPHP 153, a lightweight PHP development framework, including the content of generating thumbnails. I hope it will be helpful to friends who are interested in PHP tutorials.