Groups
Groups
Sign in
Groups
Groups
AlirezaWeb
Conversations
About
Send feedback
Help
نسخه اولیه 7 پی اچ پی کمتر از دو هفته دیگه میاد بیرون
0 views
Skip to first unread message
AlirezaWeb
unread,
May 30, 2015, 2:08:25 PM
5/30/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to alire...@googlegroups.com
نسخه نهایی هم حدود آذرماه امسال در دسترس خواهد بود:
https://wiki.php.net/todo/php70
https://wiki.php.net/rfc/php7timeline
چیزی به عنوان php6 قطعی و
احتمالا php5.7 هم نخواهیم داشت
چیزهایی که تو این نسخه می بینید و شما رو یاد جاوااسکریپت میندازه :
Uniform Variable Syntax :
"string"->toLower()
or
(function() { ... })()
...
https://wiki.php.net/rfc/uniform_variable_syntax
Anonymous Classes :
$child = new class extends Foo {};
...
https://wiki.php.net/rfc/anonymous_classes
Type hinting :
function foo(array $data): array { return $data; }
...
https://wiki.php.net/rfc/return_types
Closure::call :
$foo = new StdClass;
$foo->bar = 3;
$foobar = function ($qux) { var_dump($this->bar + $qux); };
$foobar->call($foo, 4);
// prints int(7)
...
https://wiki.php.net/rfc/closure_apply
Unicode Codepoint Escape Syntax :
echo "\u{1F602}";
// outputs
...
https://wiki.php.net/rfc/unicode_escape
Null Coalesce Operator :
var_dump(0 || 2 ?? 3 ? 4 : 5);
// ((0 || 2) ?? 3) ? 4 : 5 => int(4)
https://wiki.php.net/rfc/isset_ternary
www.alirezaweb.com
شما به این دلیل این پیام را دریافت کردهاید که در گروه Google Groups "AlirezaWeb" مشترک شدهاید.
جهت لغو اشتراک از این گروه، ایمیلی به
alirezaweb+...@googlegroups.com
ارسال کنید.
از این گروه در
http://groups.google.com/group/alirezaweb?hl=fa
دیدن کنید.
برای گزینههای بیشتر، از
https://groups.google.com/groups/opt_out
دیدن کنید.
Reply all
Reply to author
Forward
0 new messages