{"id":9256,"date":"2011-12-18T18:39:07","date_gmt":"2011-12-18T15:09:07","guid":{"rendered":"https:\/\/parspack.com\/?p=9256"},"modified":"2024-07-02T22:09:27","modified_gmt":"2024-07-02T17:39:27","slug":"php7-4","status":"publish","type":"post","link":"https:\/\/parspack.com\/blog\/technology-news\/php7-4","title":{"rendered":"\u0645\u0639\u0631\u0641\u06cc \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627\u06cc \u062c\u062f\u06cc\u062f php 7.4"},"content":{"rendered":"<p style=\"text-align: justify;\">PHP \u0647\u0645\u0686\u0646\u0627\u0646 \u062f\u0631 \u062d\u0627\u0644 \u062a\u06a9\u0627\u0645\u0644 \u0648 \u0628\u0647 \u0631\u0648\u0632 \u0631\u0633\u0627\u0646\u06cc \u0627\u0633\u062a \u062a\u0627 \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627 \u0648 \u0639\u0645\u0644\u06a9\u0631\u062f \u062e\u0648\u062f \u0631\u0627 \u0628\u0647\u0628\u0648\u062f \u0648 \u0627\u0631\u062a\u0642\u0627 \u0628\u062e\u0634\u062f. php 7.4 \u062c\u062f\u06cc\u062f \u062a\u0631\u06cc\u0646 \u0646\u0633\u062e\u0647 \u0645\u06cc \u0628\u0627\u0634\u062f \u06a9\u0647 \u0628\u0647 \u062a\u0627\u0632\u06af\u06cc \u0627\u0631\u0627\u0626\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a \u0648 \u0639\u0645\u0644\u06a9\u0631\u062f \u0648 \u0633\u0631\u0639\u062a \u0622\u0646 \u0628\u0647 \u0637\u0631\u0632 \u0642\u0627\u0628\u0644 \u062a\u0648\u062c\u0647\u06cc \u0628\u0647\u062a\u0631 \u0634\u062f\u0647 \u0627\u0633\u062a. \u0645\u0633\u0626\u0648\u0644\u06cc\u0646 php \u0628\u0627 \u0634\u0646\u06cc\u062f\u0646 \u0648 \u062f\u0631\u06cc\u0627\u0641\u062a \u0646\u0638\u0631\u0627\u062a \u0645\u062e\u0627\u0637\u0628\u0627\u0646 \u062e\u0648\u062f \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a\u06cc \u062f\u0631 php \u0627\u06cc\u062c\u0627\u062f \u06a9\u0631\u062f\u0647 \u0627\u0646\u062f \u062a\u0627 \u0622\u0646 \u0631\u0627 \u0647\u0631\u0686\u0647 \u0628\u06cc\u0634\u062a\u0631 \u0628\u0647 \u0646\u0633\u062e\u0647 \u0627\u06cc \u0627\u06cc\u062f\u0647 \u0622\u0644 \u0648 \u0628\u062f\u0648\u0646 \u0645\u0634\u06a9\u0644 \u0628\u0631\u0627\u06cc \u0645\u062e\u0627\u0637\u0628\u0627\u0646 \u062a\u0628\u062f\u06cc\u0644 \u06a9\u0646\u0646\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u062a\u0646 \u0628\u0647 \u0628\u0631\u0631\u0633\u06cc \u0648 \u0645\u0639\u0631\u0641\u06cc \u06a9\u0627\u0645\u0644 \u0646\u0633\u062e\u0647 \u062c\u062f\u06cc\u062f php \u0648 \u0647\u0627\u0633\u062a \u0645\u06cc \u067e\u0631\u062f\u0627\u0632\u06cc\u0645 \u062a\u0627 \u0628\u0627 \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627 \u0648 \u0639\u0645\u0644\u06a9\u0631\u062f \u0622\u0646 \u0622\u0634\u0646\u0627 \u0634\u0648\u06cc\u0645.<\/p>\n<h2 style=\"text-align: justify;\"><span style=\"color: #3366ff;\">\u00a0php 7.4<\/span><\/h2>\n<p style=\"text-align: justify;\">\u0627\u06cc\u0646 \u0646\u0633\u062e\u0647 \u062c\u062f\u06cc\u062f php 7.4 \u06a9\u0647 \u062f\u0631 \u062a\u0627\u0631\u06cc\u062e \u06f2\u06f8 \u0646\u0648\u0627\u0645\u0628\u0631 \u06f2\u06f0\u06f1\u06f9 \u06cc\u0639\u0646\u06cc \u0628\u0647 \u062a\u0627\u0632\u06af\u06cc \u0645\u0646\u062a\u0634\u0631 \u0634\u062f\u0647 \u0627\u0633\u062a\u060c \u062a\u0648\u062c\u0647 \u0647\u0645\u0647 \u0631\u0627 \u0628\u0647 \u062e\u0648\u062f \u062c\u0644\u0628 \u06a9\u0631\u062f\u0647 \u0627\u0633\u062a \u0648 \u0627\u06a9\u0646\u0648\u0646 \u062f\u0631 \u062a\u0645\u0627\u0645 \u0633\u0631\u0648\u0631\u0647\u0627\u06cc Hostinger \u062f\u0631 \u062f\u0633\u062a\u0631\u0633 \u0645\u06cc \u0628\u0627\u0634\u062f. \u0628\u0627 \u0648\u062c\u0648\u062f php 7.4 \u0627\u0641\u0631\u0627\u062f \u0645\u06cc \u062a\u0648\u0627\u0646\u0646\u062f \u0634\u0627\u0647\u062f \u067e\u06cc\u0634\u0631\u0641\u062a \u062f\u0631 \u062e\u0648\u0627\u0646\u0627 \u0628\u0648\u062f\u0646 \u06a9\u062f\u060c \u0646\u06af\u0647\u062f\u0627\u0631\u06cc \u0648 \u0633\u0647\u0648\u0644\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0628\u0627\u0634\u0646\u062f. \u062f\u0631 \u0648\u0627\u0642\u0639 \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627\u06cc php 7.4 \u0628\u0627\u0639\u062b \u0634\u062f\u0647 \u062a\u0627 \u0627\u0632 \u0622\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0634\u0648\u062f. \u0627\u06cc\u0646 php \u062f\u0631 \u0648\u0627\u0642\u0639 \u0628\u0627 \u0633\u0627\u062f\u0647 \u0633\u0627\u0632\u06cc \u06a9\u062f\u0647\u0627 \u0628\u0627\u0639\u062b \u0627\u062c\u0631\u0627\u06cc \u0633\u0631\u06cc\u0639\u062a\u0631 \u0628\u0631\u0646\u0627\u0645\u0647 \u0645\u06cc \u0634\u0648\u062f \u0648 \u0639\u0645\u0644\u06a9\u0631\u062f \u0633\u06cc\u0633\u062a\u0645 \u0631\u0627 \u0628\u0647\u0628\u0648\u062f \u0645\u06cc \u0628\u062e\u0634\u062f. \u0627\u06cc\u0646 \u0646\u0633\u062e\u0647 \u062c\u062f\u06cc\u062f php \u0622\u062e\u0631\u06cc\u0646 \u0648\u0631\u0698\u0646 \u0646\u0628\u0648\u062f\u0647 \u0648 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0647\u0645\u06cc\u0634\u0647 \u0627\u062f\u0627\u0645\u0647 \u062f\u0627\u0631\u062f \u062a\u0627 \u0628\u062a\u0648\u0627\u0646 \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627\u06cc \u0622\u0646 \u0631\u0627 \u0647\u0631 \u0686\u0647 \u0628\u06cc\u0634\u062a\u0631 \u0627\u0631\u062a\u0642\u0627 \u062f\u0627\u062f.<\/p>\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" data-loaded=\"true\" src=\"https:\/\/parspack.com\/blog\/wp-content\/uploads\/2019\/12\/php7.4-speed.jpg\" class=\"wp-image-9259 size-full\" alt=\"\u0627\u0641\u0632\u0627\u06cc\u0634 \u0633\u0631\u0639\u062a \u0648\u0631\u062f\u067e\u0631\u0633 \u0628\u0627 php 7.4\" title=\"\u0627\u0631\u062a\u0642\u0627 php \u0628\u0647 7.4\"       width=\"750\" height=\"400\" srcset=\"https:\/\/parspack.com\/blog\/wp-content\/uploads\/2019\/12\/php7.4-speed.jpg 750w, https:\/\/parspack.com\/blog\/wp-content\/uploads\/2019\/12\/php7.4-speed-300x160.jpg 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><figcaption class=\"text-subtitle-5 text-gray-9 text-center mt-2\" >\u0645\u0634\u062e\u0635\u0627\u062a \u067e\u06cc \u0627\u0686 \u067e\u06cc 7.4<\/figcaption><\/figure>\n<h2 style=\"text-align: justify;\"><span style=\"color: #3366ff;\">\u06a9\u0627\u0631\u0628\u0631\u062f php<\/span><\/h2>\n<p style=\"text-align: justify;\">PHP \u062f\u0631 \u0628\u06cc\u0634 \u0627\u0632 \u06f7\u06f8.\u06f9 \u062f\u0631\u0635\u062f \u0627\u0632 \u0648\u0628 \u0633\u0627\u06cc\u062a \u0647\u0627\u06cc \u0645\u0648\u062c\u0648\u062f \u0645\u0648\u0631\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0642\u0631\u0627\u0631 \u0645\u06cc \u06af\u06cc\u0631\u062f. \u0628\u0631\u062e\u06cc \u0627\u0632 \u0633\u0627\u06cc\u062a \u0647\u0627\u06cc. \u0645\u0639\u0631\u0648\u0641 \u06a9\u0647 \u0647\u0645\u0647 \u0628\u0627 \u0622\u0646\u0647\u0627 \u0622\u0634\u0646\u0627\u06cc\u06cc \u062f\u0627\u0631\u0646\u062f \u0648 \u0627\u0632 php \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u0646\u062f \u0648\u06cc\u06a9\u06cc \u067e\u062f\u06cc\u0627\u060c \u067e\u06cc\u0646\u062a\u0631\u0633\u062a \u0648 \u0641\u06cc\u0633 \u0628\u0648\u06a9 \u0645\u06cc \u0628\u0627\u0634\u0646\u062f. \u062f\u0631 \u062d\u0627\u0644 \u062d\u0627\u0636\u0631 \u06f3\u06f9\u06f1\u06f9\u06f1\u06f7\u06f1\u06f4 \u0633\u0627\u06cc\u062a \u0627\u0632 php \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u0646\u062f \u0648 \u0627\u06cc\u0646 \u0622\u0645\u0627\u0631 \u0628\u0647 \u062e\u0648\u0628\u06cc \u06a9\u0627\u0631\u0622\u0645\u062f \u0628\u0648\u062f\u0646 \u0622\u0646 \u0631\u0627 \u062b\u0627\u0628\u062a \u0645\u06cc \u06a9\u0646\u062f.<\/p>\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" data-loaded=\"true\" src=\"https:\/\/parspack.com\/blog\/wp-content\/uploads\/2019\/12\/benchmark-test-php.jpg\" class=\"wp-image-9258 size-full\" alt=\"\u062a\u0633\u062a php 7.4\" title=\"\u0627\u0631\u062a\u0642\u0627 php 7.4\"       width=\"750\" height=\"400\" srcset=\"https:\/\/parspack.com\/blog\/wp-content\/uploads\/2019\/12\/benchmark-test-php.jpg 750w, https:\/\/parspack.com\/blog\/wp-content\/uploads\/2019\/12\/benchmark-test-php-300x160.jpg 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><figcaption class=\"text-subtitle-5 text-gray-9 text-center mt-2\" >benchmark \u062a\u0633\u062a<\/figcaption><\/figure>\n<h2 style=\"text-align: justify;\"><span style=\"color: #3366ff;\">\u0648\u06cc\u0698\u06af\u06cc \u0647\u0627\u06cc php 7.4<\/span><\/h2>\n<p style=\"text-align: justify;\">\u062f\u0631 \u0648\u0627\u0642\u0639 \u0627\u0632 php \u0646\u0633\u062e\u0647 \u062c\u062f\u06cc\u062f \u0628\u0631\u0627\u06cc \u0628\u0647\u0628\u0648\u062f \u0628\u062e\u0634\u06cc\u062f\u0646 \u0628\u0647 \u0633\u0631\u0639\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u0646\u062f. \u0627\u06af\u0631 \u062f\u0648 \u0633\u0627\u06cc\u062a \u0631\u0627 \u06a9\u0647 \u0627\u0632 \u0648\u0631\u0698\u0646 \u0642\u0628\u0644\u06cc php \u0648 php 7.4 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u0646\u062f \u0631\u0627 \u0628\u0627 \u06cc\u06a9\u062f\u06cc\u06af\u0631 \u0645\u0642\u0627\u06cc\u0633\u0647 \u06a9\u0646\u06cc\u062f \u0645\u062a\u0648\u062c\u0647 \u0627\u0641\u0632\u0627\u06cc\u0634 \u062d\u062f\u0648\u062f \u062f\u0648 \u0628\u0631\u0627\u0628\u0631\u06cc \u0633\u0631\u0639\u062a \u0622\u0646 \u062e\u0648\u0627\u0647\u06cc\u062f \u0634\u062f. \u0627\u0632 \u0633\u0627\u0644 \u06f2\u06f0\u06f1\u06f6 php7 \u0647\u0631 \u0633\u0627\u0644\u0647 \u0646\u0633\u062e\u0647 \u062c\u062f\u06cc\u062f\u06cc \u0627\u0631\u0627\u0626\u0647 \u062f\u0627\u062f\u0647 \u0627\u0633\u062a \u06a9\u0647 \u062f\u0631 \u0622\u0646 \u0633\u0639\u06cc \u06a9\u0631\u062f\u0647 \u06a9\u06cc\u0641\u06cc\u062a\u060c \u0633\u0647\u0648\u0644\u062a \u062f\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647\u060c \u0639\u0645\u0644\u06a9\u0631\u062f \u0648 \u0633\u0631\u0639\u062a \u0631\u0627 \u0627\u0631\u062a\u0642\u0627 \u0628\u0628\u062e\u0634\u062f. \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0633\u0627\u062f\u0647 \u062a\u0631 \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0648 \u0628\u0647\u0628\u0648\u062f \u06a9\u06cc\u0641\u06cc\u062a \u0628\u0627\u0639\u062b \u0634\u062f\u0647 \u062a\u0627 \u0631\u0636\u0627\u06cc\u062a \u0627\u0641\u0631\u0627\u062f \u0628\u0633\u06cc\u0627\u0631 \u0628\u06cc\u0634\u062a\u0631 \u0634\u0648\u062f \u0648 \u062f\u0631 \u062d\u0627\u0644 \u062d\u0627\u0636\u0631 \u0648\u0631\u0698\u0646 \u06f7.\u06f3 \u062f\u0631 \u062d\u0627\u0644 \u0633\u0627\u062e\u062a \u0627\u0633\u062a \u062a\u0627 \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627 \u0648 \u06a9\u06cc\u0641\u06cc\u062a \u0628\u0627\u0644\u0627\u062a\u0631\u06cc \u0631\u0627 \u0628\u0647 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0627\u0631\u0627\u0626\u0647 \u062f\u0647\u062f.<\/p>\n<h3 style=\"text-align: justify;\"><span style=\"color: #0000ff;\">\u067e\u06cc\u0634 \u0630\u062e\u06cc\u0631\u0647<\/span><\/h3>\n<p style=\"text-align: justify;\">\u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u06a9\u0645\u06cc \u062f\u0631\u0628\u0627\u0631\u0647 \u06a9\u062f\u0647\u0627 \u0648 \u0630\u062e\u06cc\u0631\u0647 \u06a9\u0631\u062f\u0646 \u0622\u0646\u0647\u0627 \u0628\u0627 \u06cc\u06a9\u062f\u06cc\u06af\u0631 \u0635\u062d\u0628\u062a \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f. \u0647\u0646\u06af\u0627\u0645 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06cc\u06a9 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 \u0628\u0627\u06cc\u062f \u0628\u0627 \u0647\u0631 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u067e\u0631\u0648\u0646\u062f\u0647 \u0645\u0631\u0628\u0648\u0637\u0647 \u0648 \u062f\u0631 \u0648\u0627\u0642\u0639 \u0641\u0627\u06cc\u0644 \u0645\u0631\u062a\u0628\u0637 \u0628\u0627\u0631\u06af\u0630\u0627\u0631\u06cc \u0634\u0648\u062f. \u0634\u0645\u0627 \u0628\u0627 \u067e\u06cc\u0634 \u0630\u062e\u06cc\u0631\u0647 \u0648 \u062f\u0631 \u0648\u0627\u0642\u0639 \u0628\u0627\u0631\u06af\u0630\u0627\u0631\u06cc \u0641\u0627\u06cc\u0644 \u0647\u0627 \u0627\u0632 \u0642\u0628\u0644 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0645\u0637\u0627\u0644\u0628 \u0648 \u0641\u0627\u06cc\u0644 \u0631\u0627 \u062f\u0631 OPCache \u0628\u0627\u0631\u06af\u0630\u0627\u0631\u06cc \u06a9\u0646\u06cc\u062f. \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0628\u0627\u0639\u062b \u0645\u06cc \u0634\u0648\u062f \u06a9\u0647 \u0633\u0631\u0648\u0631 \u0628\u062a\u0648\u0627\u0646\u062f \u0641\u0627\u06cc\u0644 \u0647\u0627 \u0648 \u067e\u0631\u0648\u0646\u062f\u0647 \u0647\u0627\u06cc php \u0631\u0627 \u0628\u0627\u0631\u06af\u06cc\u0631\u06cc \u06a9\u0646\u062f \u0648 \u062f\u0631 \u062d\u0627\u0641\u0638\u0647 \u062e\u0648\u062f \u0630\u062e\u06cc\u0631\u0647 \u06a9\u0631\u062f\u0647 \u062a\u0627 \u062f\u0631 \u0635\u0648\u0631\u062a \u0646\u06cc\u0627\u0632 \u0648 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0622\u0646\u0647\u0627 \u0631\u0627 \u062f\u0631 \u062f\u0633\u062a\u0631\u0633 \u0642\u0631\u0627\u0631 \u062f\u0647\u062f. \u0628\u0627 \u0627\u06cc\u0646 \u0641\u0631\u0627\u06cc\u0646\u062f \u0628\u0647 \u0637\u0648\u0631 \u0642\u0637\u0639 \u0633\u0631\u0639\u062a \u06a9\u0627\u0631 \u0627\u0641\u0632\u0627\u06cc\u0634 \u0645\u06cc \u06cc\u0627\u0628\u062f.<br \/>\n\u0628\u0627\u0631\u06af\u0630\u0627\u0631\u06cc \u0627\u0632 \u0642\u0628\u0644 \u06cc\u0627 \u0647\u0645\u0627\u0646 \u067e\u06cc\u0634 \u0628\u0627\u0631\u06af\u0630\u0627\u0631\u06cc (preloading) \u0637\u06cc \u06cc\u06a9 \u062f\u0633\u062a\u0648\u0631\u0627\u0644\u0639\u0645\u0644 php.ini \u0627\u062c\u0631\u0627 \u0645\u06cc \u0634\u0648\u062f. \u062f\u0631 \u0635\u0648\u0631\u062a\u06cc \u06a9\u0647 \u0645\u0646\u0628\u0639 \u0641\u0627\u06cc\u0644 \u0647\u0627 \u0648 \u067e\u0631\u0648\u0646\u062f\u0647 \u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0627\u0632 \u0642\u0628\u0644 \u0628\u0627\u0631\u06af\u0630\u0627\u0631\u06cc \u0634\u062f\u0647 \u0627\u0646\u062f \u062a\u063a\u06cc\u06cc\u0631 \u06a9\u0646\u062f \u0633\u0631\u0648\u0631 \u0645\u062c\u062f\u062f\u0627 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u062e\u0648\u0627\u0647\u062f \u0634\u062f \u0648 \u067e\u0631\u0648\u0646\u062f\u0647 \u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0627\u0632 \u0642\u0628\u0644 \u0628\u0627\u0631\u06af\u0630\u0627\u0631\u06cc \u0634\u062f\u0647 \u0627\u0646\u062f \u0628\u0631\u0627\u06cc \u0647\u0645\u06cc\u0634\u0647 \u062f\u0631 \u062d\u0627\u0641\u0638\u0647 OPCache \u0628\u0627\u0642\u06cc \u0645\u06cc \u0645\u0627\u0646\u0646\u062f \u0648 \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0647\u0645\u06cc\u0634\u0647 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u06a9\u0647 \u062f\u0631 \u0635\u0648\u0631\u062a \u0646\u06cc\u0627\u0632 \u0628\u062a\u0648\u0627\u0646 \u0645\u062c\u062f\u062f \u0622\u0646\u0647\u0627 \u0631\u0627 \u0628\u0627\u0631\u06af\u0630\u0627\u0631\u06cc \u0646\u0645\u0648\u062f.<\/p>\n<h3 style=\"text-align: justify;\"><span style=\"color: #0000ff;\">\u0627\u0641\u0632\u0648\u062f\u0646 spread \u0628\u0647 \u0622\u0631\u0627\u06cc\u0647 \u0647\u0627 \u062f\u0631 php 7.4<\/span><\/h3>\n<p style=\"text-align: justify;\">\u062f\u0631 \u0646\u0633\u062e\u0647 \u0642\u062f\u06cc\u0645\u06cc php 5.6 \u06cc\u06a9 \u0642\u0627\u0628\u0644\u06cc\u062a\u06cc \u06a9\u0647 Argument unpacking \u0646\u0627\u0645 \u062f\u0627\u0634\u062a \u0628\u0647 \u0634\u0645\u0627 \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0631\u0627 \u0645\u06cc \u062f\u0627\u062f \u062a\u0627 \u0622\u0631\u0627\u06cc\u0647 \u0647\u0627 \u0631\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a \u0644\u06cc\u0633\u062a\u06cc \u0627\u0632 \u0622\u0631\u06af\u0648\u0645\u0627\u0646 \u0647\u0627 (Argumente) \u0628\u0627\u0632 \u0646\u0645\u0627\u06cc\u062f. \u0627\u06cc\u0646 \u0642\u0627\u0628\u0644\u06cc\u062a \u062f\u0631 \u0646\u0633\u062e\u0647 \u0642\u062f\u06cc\u0645\u06cc \u062a\u0646\u0647\u0627 \u0628\u0631\u0627\u06cc \u0627\u0631\u06af\u0648\u0645\u0627\u0646 \u0647\u0627\u06cc \u062a\u0648\u0627\u0628\u0639\u06cc \u0628\u0648\u062f \u06a9\u0647 \u062f\u0631 \u062f\u0633\u062a\u0631\u0633 \u0628\u0648\u062f\u0646\u062f \u0627\u0645\u0627 \u062f\u0631 \u0646\u0633\u062e\u0647 \u062c\u062f\u06cc\u062f php 7.4 \u0627\u06cc\u0646 \u0642\u0627\u0628\u0644\u06cc\u062a \u0628\u0647 \u0622\u0631\u0627\u06cc\u0647 \u0647\u0627 \u0646\u06cc\u0632 \u062a\u0639\u0645\u06cc\u0645 \u062f\u0627\u062f\u0647 \u0634\u062f. \u0628\u0647 \u0627\u06cc\u0646 \u0634\u06a9\u0644 \u0628\u0631\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u06a9\u0627\u0631 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0645\u0627\u0646\u0646\u062f \u0645\u062b\u0627\u0644 \u0632\u06cc\u0631 \u0627\u0632 \u0633\u0647 \u0646\u0642\u0637\u0647 \u0642\u0628\u0644 \u0622\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">$animals = ['dog', 'cat'];\r\n$animalkingdom = ['lion', 'elephant', ...$animals, 'giraffe'];\r\n\/\/ [\u2018lion\u2019, \u2018elephant\u2019, \u2018dog\u2019, \u2018cat\u2019, \u2018giraffe\u2019];<\/pre>\n<p style=\"text-align: justify;\">\u062f\u0631 \u0627\u06cc\u0646 \u062c\u0627 \u0645\u062b\u0627\u0644 \u062f\u06cc\u06af\u0631\u06cc \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u06a9\u0647 \u0628\u0647 \u0622\u0646 \u0646\u06cc\u0632 \u0645\u06cc \u067e\u0631\u062f\u0627\u0632\u06cc\u0645:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">$num1 = [1, 2, 3];\r\n$num2 = [...$num1]; \/\/ [1, 2, 3]\r\n$num3 = [0, ...$num1]; \/\/ [0, 1, 2, 3]\r\n$num4 = array(...$num1, ...$num2, 111); \/\/ [1, 2, 3, 1, 2, 3, 111]\r\n$num5 = [...$num1, ...$num1]; \/\/ [1, 2, 3, 1, 2, 3]\r\n\r\n<\/pre>\n<p style=\"text-align: justify;\">\u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0627\u0646 \u062f\u0631 \u06cc\u06a9 \u0639\u0645\u0644\u06a9\u0631\u062f \u0646\u06cc\u0632 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u0628\u0631\u0627\u06cc \u062f\u0631\u06a9 \u0628\u0647\u062a\u0631 \u0644\u0637\u0641\u0627 \u0628\u0647 \u0645\u062b\u0627\u0644 \u0632\u06cc\u0631 \u062f\u0642\u062a \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">function getNum() {\r\n  return ['a', 'b'];\r\n}\r\n$num6 = [...getNum(), 'c']; \/\/ ['a', 'b', 'c']\r\n \r\n$num7 = [...new NumIterator(['a', 'b', 'c'])]; \/\/ ['a', 'b', 'c']\r\n \r\nfunction arrGen() {\r\n    for($i = 11; $i &lt; 15; $i++) {\r\n        yield $i;\r\n    }\r\n}\r\n$num8 = [...arrGen()]; \/\/ [11, 12, 13, 14]<\/pre>\n<h4 style=\"text-align: justify;\"><span style=\"color: #000080;\">\u0647\u0645\u0686\u0646\u06cc\u0646 \u0639\u0644\u0627\u0648\u0647 \u0628\u0631 \u0627\u06cc\u0646 \u0645\u0648\u0627\u0631\u062f \u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0645\u0627\u0646\u0646\u062f \u0645\u062b\u0627\u0644 \u0632\u06cc\u0631 \u0622\u0631\u0627\u06cc\u0647 \u0647\u0627 \u0631\u0627 \u062a\u0648\u0633\u0637 \u06cc\u06a9 \u0639\u0645\u0644\u06af\u0631 unpack \u0646\u0645\u0627\u06cc\u06cc\u062f:<\/span><\/h4>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">function getAnimals(){\r\n return ['dog', 'cat', 'elephant'];\r\n}\r\n$num1 = [...getAnimals(), 'lion', 'tiger', 'giraffe'];<\/pre>\n<p style=\"text-align: justify;\">\u0648 \u062f\u0631 php7 \u062f\u0627\u0631\u06cc\u0645:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">array(6) {\r\n [0]=&gt;\r\n string(3) \"dog\"\r\n [1]=&gt;\r\n string(3) \"cat\"\r\n [2]=&gt;\r\n string(8) \"elephant\"\r\n [3]=&gt;\r\n string(4) \"lion\"\r\n [4]=&gt;\r\n string(5) \"tiger\"\r\n [5]=&gt;\r\n string(7) \"giraffe\"\r\n}<\/pre>\n<h2 style=\"text-align: justify;\"><span style=\"color: #3366ff;\">\u0645\u0632\u06cc\u062a \u0647\u0627\u06cc php 7.4<\/span><\/h2>\n<p style=\"text-align: justify;\">\u0628\u0647 \u0627\u06cc\u0646 \u062a\u0631\u062a\u06cc\u0628 php7.4 \u0639\u0645\u0644\u06a9\u0631\u062f \u0628\u0647\u062a\u0631\u06cc \u062e\u0648\u0627\u0647\u0646\u062f \u062f\u0627\u0634\u062a \u0632\u06cc\u0631\u0627 \u0627\u067e\u0631\u0627\u062a\u0648\u0631 spread \u06cc\u06a9 \u0633\u0627\u062e\u062a\u0627\u0631 \u0632\u0628\u0627\u0646\u06cc \u0627\u0633\u062a (language structure ) \u0648 array-merge \u06cc\u06a9 \u062a\u0627\u0628\u0639 \u0645\u06cc \u0628\u0627\u0634\u062f \u06a9\u0647 \u0647\u0645\u06cc\u0646 \u0645\u0648\u0636\u0648\u0639 \u0628\u0627\u0639\u062b \u0633\u0631\u06cc\u0639\u062a\u0631 \u0634\u062f\u0646 \u0622\u0646 \u062e\u0648\u0627\u0647\u062f \u0628\u0648\u062f. \u0628\u0627\u06cc\u062f \u0628\u0647 \u0627\u06cc\u0646 \u0646\u06a9\u062a\u0647 \u062a\u0648\u062c\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u062a\u0646\u0647\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0622\u0631\u0627\u06cc\u0647 \u0647\u0627\u06cc \u0641\u0647\u0631\u0633\u062a \u0634\u062f\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0646\u0645\u0627\u06cc\u06cc\u062f \u0632\u06cc\u0631\u0627 \u0622\u0631\u0627\u06cc\u0647 \u0647\u0627\u06cc \u062f\u06cc\u06af\u0631 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0646\u0645\u06cc \u0634\u0648\u0646\u062f \u0648 \u0628\u0647 \u0634\u0645\u0627 \u062e\u0637\u0627 \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u062e\u0648\u0627\u0647\u062f \u0634\u062f. \u06cc\u06a9\u06cc \u062f\u06cc\u06af\u0631 \u0627\u0632 \u0645\u0632\u06cc\u062a \u0647\u0627\u06cc php 7.4 \u062d\u0630\u0641 \u0622\u0631\u0627\u06cc\u0647 merge\u0645\u06cc \u0628\u0627\u0634\u062f. \u0628\u0631\u0627\u06cc \u062f\u0631\u06a9 \u0628\u0647\u062a\u0631 \u0628\u0647 \u0645\u062b\u0627\u0644 \u0632\u06cc\u0631 \u0646\u06af\u0627\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">$array = [\u2018banana, \u2018orange\u2019];\r\n$array[2] = \u2018orange\u2019;\r\n$array[1] = \u2018apple\u2019; \/\/shifting\r\nvar_dump($array); \r\n\/\/ prints \r\narray(3) {\r\n [0]=&gt;\r\n string(6) \"banana\"\r\n [1]=&gt;\r\n string(5) \"apple\"\r\n [2]=&gt;\r\n string(6) \"orange\"<\/pre>\n<p style=\"text-align: justify;\">\u06cc\u06a9\u06cc \u062f\u06cc\u06af\u0631 \u0627\u0632 \u0645\u0632\u06cc\u062a \u0647\u0627\u06cc \u0627\u06cc\u0646 \u0646\u0633\u062e\u0647 \u0627\u0632 php \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u067e\u0631\u0627\u062a\u0648\u0631 \u0648 \u0639\u0645\u0644\u06af\u0631 Generator \u0627\u0633\u062a. \u0627\u06cc\u0646 \u0627\u067e\u0631\u0627\u062a\u0648\u0631 \u0645\u0627\u0646\u0646\u062f \u062f\u06cc\u06af\u0631 \u0639\u0645\u0644\u06af\u0631\u0647\u0627 \u0645\u06cc \u0628\u0627\u0634\u062f \u0627\u0645\u0627 \u062a\u0646\u0647\u0627 \u0628\u0647 \u0645\u06cc\u0632\u0627\u0646\u06cc \u06a9\u0647 \u0646\u06cc\u0627\u0632 \u0627\u0633\u062a \u0628\u0627\u0632\u062f\u0647 \u062f\u0627\u0631\u062f. \u0628\u0647 \u0645\u062b\u0627\u0644 \u0632\u06cc\u0631 \u062f\u0642\u062a \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">function generator() {\r\n for ($i = 3; $i &lt;= 5; $i++) {\r\n yield $i;\r\n }\r\n}\r\n$num1 = [0, 1, 2, ...generator()];<\/pre>\n<h2 style=\"text-align: justify;\"><span style=\"color: #3366ff;\">Weak reference<\/span><\/h2>\n<p style=\"text-align: justify;\">PHP 7.4 \u062f\u0627\u0631\u0627\u06cc weak reference \u0627\u0633\u062a \u06a9\u0647 \u0628\u0631\u062e\u06cc \u0622\u0646 \u0631\u0627 \u0628\u0627 wealred \u06cc\u0627 weakref \u0627\u0634\u062a\u0628\u0627\u0647 \u0645\u06cc \u06af\u06cc\u0631\u0646\u062f. weakreference \u0627\u06cc\u0646 \u0627\u062c\u0627\u0632\u0647 \u0631\u0627 \u0628\u0647 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633 \u0645\u06cc \u062f\u0647\u062f \u06a9\u0647 \u0647\u0631 \u0627\u0637\u0644\u0627\u0639\u0627\u062a\u06cc \u0631\u0627 \u062f\u0631 \u062d\u0627\u0641\u0638\u0647 \u067e\u0646\u0647\u0627\u0646 \u0646\u06af\u0647\u062f\u0627\u0631\u06cc \u06a9\u0646\u062f \u0648 \u0628\u0647 \u0627\u06cc\u0646 \u062a\u0631\u062a\u06cc\u0628 \u0647\u06cc\u0686 \u0627\u0637\u0644\u0627\u0639\u0627\u062a\u06cc \u0627\u0632 \u0628\u06cc\u0646 \u0646\u062e\u0648\u0627\u0647\u062f \u0631\u0641\u062a. \u0627\u06cc\u0646 \u0645\u0648\u0636\u0648\u0639 \u0628\u0633\u06cc\u0627\u0631 \u0645\u0647\u0645 \u0648 \u06a9\u0627\u0631\u0628\u0631\u062f\u06cc \u0627\u0633\u062a. \u0628\u0647 \u0645\u062b\u0627\u0644 \u0632\u06cc\u0631 \u0646\u06af\u0627\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">WeakReference {\r\n\/* Methods *\/\r\npublic __construct ( void )\r\npublic static create ( object $referent ) : WeakReference\r\npublic get ( void ) : ?object\r\n}<\/pre>\n<h2 style=\"text-align: justify;\"><span style=\"color: #3366ff;\">\u067e\u0627\u0631\u0627\u0645\u062a\u0631\u0647\u0627\u06cc \u0645\u062a\u0646\u0627\u0642\u0636<\/span><\/h2>\n<p style=\"text-align: justify;\">PHP \u0627\u0632 \u0627\u0646\u0648\u0627\u0639 \u067e\u0627\u0631\u0627\u0645\u062a\u0631\u0647\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u062f \u0648 \u0627\u06cc\u0646 \u0628\u062f\u0627\u0646 \u0645\u0639\u0646\u0627 \u062e\u0648\u0627\u0647\u062f \u0628\u0648\u062f \u06a9\u0647 \u0627\u06af\u0631 \u0645\u062a\u062f\u06cc \u062f\u0627\u0631\u0627\u06cc \u067e\u0627\u0631\u0627\u0645\u062a\u0631 x \u0628\u0627\u0634\u062f \u067e\u0627\u0631\u0627\u0645\u062a\u0631 \u0632\u06cc\u0631\u067e\u0627\u06cc\u0647 \u0622\u0646 \u0646\u06cc\u0632 \u0628\u0627\u06cc\u062f \u0627\u0632 \u0646\u0648\u0639 X \u0628\u0627\u0634\u062f \u0648 \u062f\u0631 \u0648\u0627\u0642\u0639 \u0646\u0628\u0627\u06cc\u062f \u0627\u06cc\u0646 \u062f\u0648 \u0646\u0633\u0628\u062a \u0628\u0647 \u06cc\u06a9\u062f\u06cc\u06af\u0631 \u0627\u0632 \u0646\u0648\u0639 \u0645\u062a\u0641\u0627\u0648\u062a\u06cc \u0628\u0627\u0634\u0646\u062f. \u0627\u0645\u0627 \u062f\u0631 php 7.4 \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0645\u0647\u06cc\u0627 \u0634\u062f\u0647 \u0627\u0633\u062a \u062a\u0627 \u067e\u0627\u0631\u0627\u0645\u062a\u0631\u0647\u0627 \u0628\u0627 \u06cc\u06a9\u062f\u06cc\u06af\u0631 \u0645\u062a\u0641\u0627\u0648\u062a \u0628\u0648\u062f\u0647 \u0648 \u062f\u0631 \u0648\u0627\u0642\u0639 \u062a\u0636\u0627\u062f \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u0646\u062f. \u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u0645\u062b\u0627\u0644\u06cc \u0627\u0632 \u0647\u0631 \u200c\u062f\u0648 \u062d\u0627\u0644\u062a \u0645\u0634\u0627\u0647\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645. \u0627\u0628\u062a\u062f\u0627 \u0645\u062b\u0627\u0644\u06cc \u0627\u0632 \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644 :<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">interface Factory {\r\n function make(): object;\r\n}\r\nclass UserFactory implements Factory {\r\n function make(): User;\r\n}\r\n<\/pre>\n<p style=\"text-align: justify;\">\u0627\u0645\u0627 \u062f\u0631 \u062d\u0627\u0644\u062a \u062f\u06cc\u06af\u0631 \u0645\u0634\u0627\u0647\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645 :<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">interface Concatable {\r\n function concat(Iterator $input); \r\n}\r\nclass Collection implements Concatable {\r\n \/\/ accepts all iterables, not just Iterator\r\n function concat(iterable $input) {\/* . . . *\/}\r\n}<\/pre>\n<h2 style=\"text-align: justify;\"><span style=\"color: #3366ff;\">Typed properties \u062f\u0631 php 7.4<\/span><\/h2>\n<p style=\"text-align: justify;\">\u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u0645\u06cc \u062f\u0627\u0646\u06cc\u062f \u062f\u0631 php \u0642\u0627\u0628\u0644\u06cc\u062a\u06cc \u0628\u0647 \u0646\u0627\u0645 Type hint \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u06a9\u0647 \u0628\u0647 \u0627\u0641\u0631\u0627\u062f \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0631\u0627 \u0645\u06cc \u062f\u0647\u062f \u062a\u0627 \u0646\u0648\u0639 \u0645\u062a\u063a\u06cc\u0631\u0647\u0627\u06cc \u0627\u0631\u0633\u0627\u0644 \u0634\u062f\u0647 \u0628\u0647 \u0622\u0631\u06af\u0648\u0645\u0627\u0646 \u06cc\u06a9 \u062a\u0627\u0628\u0639 \u0631\u0627 \u0645\u0634\u062e\u0635 \u0646\u0645\u0627\u06cc\u06cc\u0645. \u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0627\u06cc\u0646 \u0642\u0627\u0628\u0644\u06cc\u062a \u062f\u0631 \u0646\u0633\u062e\u0647 \u06cc php 7.4 \u062f\u0631 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc object \u0648 \u0647\u0645\u0686\u0646\u06cc\u0646 \u062e\u0635\u0648\u0635\u06cc\u0627\u062a \u06a9\u0644\u0627\u0633 \u0647\u0627 \u0646\u06cc\u0632 \u0628\u0647 \u0637\u0648\u0631 \u06a9\u0627\u0645\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f. \u0628\u0647 \u0645\u062b\u0627\u0644 \u0632\u06cc\u0631 \u0646\u06af\u0627\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">bool, int, float, string, array, object, iterable, self, parent\r\nany class or interface name\r\n?type \/\/ where \"type\" may be any of the above<\/pre>\n<h4 style=\"text-align: justify;\"><span style=\"color: #000080;\">\u062a\u0648\u062c\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u062a\u0646\u0647\u0627 parent type \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u062f\u0631 \u06a9\u0644\u0627\u0633 \u0647\u0627 \u0645\u0648\u0631\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0642\u0631\u0627\u0631 \u06af\u06cc\u0631\u062f \u0648 \u0646\u06cc\u0627\u0632\u06cc \u0628\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646\u0647\u0627 \u062f\u0631 \u067e\u0627\u0631\u0627\u0645\u062a\u0631\u0647\u0627 \u0646\u062e\u0648\u0627\u0647\u062f \u0628\u0648\u062f. \u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u06a9\u0644\u0627\u0633\u06cc \u0646\u0648\u0634\u062a\u0647 \u0634\u062f\u0647 \u0628\u0627 php 7.3 \u0631\u0627 \u0645\u0634\u0627\u0647\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u062f:<\/span><\/h4>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">class User {\r\n    \/** @var int $id *\/\r\n    private $id;\r\n    \/** @var string $name *\/\r\n    private $name;\r\n \r\n    public function __construct(int $id, string $name) {\r\n        $this-&gt;id = $id;\r\n        $this-&gt;name = $name;\r\n    }\r\n \r\n    public function getId(): int {\r\n        return $this-&gt;id;\r\n    }\r\n    public function setId(int $id): void {\r\n        $this-&gt;id = $id;\r\n    }\r\n \r\n    public function getName(): string {\r\n        return $this-&gt;name;\r\n    }\r\n    public function setName(string $name): void {\r\n        $this-&gt;name = $name;\r\n    }\r\n}<\/pre>\n<p style=\"text-align: justify;\">\u0627\u0645\u0627 \u062f\u0631 php 7.4 \u0628\u062f\u0648\u0646 \u0627\u06cc\u0646\u06a9\u0647 \u0622\u0633\u06cc\u0628\u06cc \u0628\u0647 \u0627\u0645\u0646\u06cc\u062a \u0633\u06cc\u0633\u062a\u0645 \u0648\u0627\u0631\u062f \u0634\u0648\u062f \u06a9\u0644\u0627\u0633 \u0631\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646 \u0628\u0647 \u0633\u0627\u062f\u06af\u06cc \u0646\u0645\u0648\u0646\u0647 \u067e\u0627\u06cc\u06cc\u0646 \u0628\u0646\u0648\u06cc\u0633\u06cc\u062f:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">class User {\r\n    public int $id;\r\n    public string $name;\r\n \r\n    public function __construct(int $id, string $name) {\r\n        $this-&gt;id = $id;\r\n        $this-&gt;name = $name;\r\n    }\r\n}<\/pre>\n<h2 style=\"text-align: justify;\"><span style=\"color: #3366ff;\">\u062a\u0648\u0627\u0628\u0639 arrow \u062f\u0631 php 7.4<\/span><\/h2>\n<p style=\"text-align: justify;\">\u062a\u0648\u0627\u0628\u0639\u06cc \u06a9\u0647 \u062f\u0631 \u0648\u0627\u0642\u0639 \u0646\u0627\u0634\u0646\u0627\u0633 \u0647\u0633\u062a\u0646\u062f \u062f\u0631 php \u062d\u062a\u06cc \u0627\u06af\u0631 \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u0639\u0645\u0644\u06cc\u0627\u062a \u0633\u0627\u062f\u0647 \u0628\u0627\u0634\u0646\u062f \u0637\u0648\u0644\u0627\u0646\u06cc \u0647\u0633\u062a\u0646\u062f \u0648 \u0639\u0644\u062a \u0622\u0646 \u0646\u06cc\u0632 \u0648\u0627\u0631\u062f \u06a9\u0631\u062f\u0646 \u062a\u0639\u062f\u0627\u062f \u0632\u06cc\u0627\u062f \u0645\u062a\u063a\u06cc\u0631\u0647\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a \u062f\u0633\u062a\u06cc \u0627\u0633\u062a. \u0627\u06cc\u0646 \u0645\u0648\u0636\u0648\u0639 \u0628\u0627\u0639\u062b \u0645\u06cc \u0634\u0648\u062f \u062a\u0627 \u062e\u0648\u0627\u0646\u062f\u0646 \u06a9\u062f\u0647\u0627 \u0648 \u062f\u0631\u06a9 \u0622\u0646\u0647\u0627 \u0646\u06cc\u0632 \u0628\u0633\u06cc\u0627\u0631 \u0633\u062e\u062a \u062a\u0631 \u0634\u0648\u062f. \u0627\u06cc\u0646 \u0645\u0634\u06a9\u0644 \u062a\u0627 \u062d\u062f\u0648\u062f\u06cc \u062f\u0631 php 7.4 \u0628\u0631\u0637\u0631\u0641 \u0634\u062f\u0647 \u0627\u0633\u062a \u0648 \u062f\u0631 \u0627\u06cc\u0646 \u062d\u0627\u0644\u062a \u0627\u06cc\u0646 \u062a\u0648\u0627\u0628\u0639 \u0645\u062e\u062a\u0635\u0631 \u062a\u0631 \u0646\u0648\u0634\u062a\u0647 \u0645\u06cc \u0634\u0648\u0646\u062f. \u0628\u0647 \u0645\u062b\u0627\u0644 \u0632\u06cc\u0631 \u0646\u06af\u0627\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">function array_values_from_keys($arr, $keys) {\r\n    return array_map(fn($x) =&gt; $arr[$x], $keys);\r\n}<\/pre>\n<p style=\"text-align: justify;\">\u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u062a\u0648\u0627\u0628\u0639 arrow \u0627\u06cc\u0646 \u0634\u06a9\u0644 \u0633\u0627\u062f\u0647 \u0631\u0627 \u062f\u0627\u0631\u0646\u062f:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">fn(parameter_list) =&gt; expr\r\n<\/pre>\n<p style=\"text-align: justify;\">\u0627\u06af\u0631 \u062a\u0648\u0627\u0628\u0639 arrow \u062a\u0648 \u062f\u0631 \u062a\u0648 \u0628\u0627\u0634\u0646\u062f \u0628\u0647 \u0635\u0648\u0631\u062a \u0632\u06cc\u0631 \u0645\u06cc \u062a\u0648\u0627\u0646 \u0622\u0646\u0647\u0627 \u0631\u0627 \u0646\u0648\u0634\u062a:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">$z = 1;\r\n$fn = fn($x) =&gt; fn($y) =&gt; $x * $y + $z;<\/pre>\n<p style=\"text-align: justify;\">\u0627\u06cc\u0646 \u0639\u0645\u0644\u06cc\u0627\u062a \u06a9\u0647 \u0645\u0634\u0627\u0647\u062f\u0647 \u06a9\u0631\u062f\u06cc\u062f \u062a\u0646\u0647\u0627 \u062f\u0631 php 7.4 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc \u0634\u0648\u062f \u0648 \u067e\u06cc\u0634 \u0627\u0632 \u0622\u0646 \u062f\u0631 7.3 \u0646\u0645\u06cc \u062a\u0648\u0627\u0646\u0633\u062a\u06cc\u062f \u06a9\u0647 \u0622\u0646 \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f.<\/p>\n<h2 style=\"text-align: justify;\"><span style=\"color: #3366ff;\">\u0627\u0648\u0644\u0648\u06cc\u062a \u0647\u0627\u06cc \u0639\u0645\u0644\u06af\u0631 \u0647\u0627<\/span><\/h2>\n<p style=\"text-align: justify;\">\u062f\u0631 \u062d\u0627\u0644 \u062d\u0627\u0636\u0631 \u0627\u0648\u0644\u0648\u06cc\u062a \u0647\u0627\u06cc \u0639\u0645\u0644\u06af\u0631\u0647\u0627\u06cc \u2018.\u2019 \u201c+\u201d \u0648 \u201c\u2018\u201c \u06cc\u06a9\u0633\u0627\u0646 \u0627\u0633\u062a. \u0647\u0631 \u062a\u0631\u06a9\u06cc\u0628\u06cc \u0627\u0632 \u0627\u06cc\u0646 \u0639\u0645\u0644\u06af\u0631\u0647\u0627 \u0628\u0647 \u0633\u0627\u062f\u06af\u06cc \u0627\u0632 \u0686\u067e \u0628\u0647 \u0631\u0627\u0633\u062a \u062e\u0648\u0627\u0646\u062f\u0647 \u0648 \u0627\u062c\u0631\u0627 \u0645\u06cc \u0634\u0648\u062f. \u0627\u0645\u0627 \u062f\u0631 php 7.4 \u062f\u0648 \u0639\u0645\u0644\u06af\u0631 + \u0648 &#8211; \u0628\u0631 \u201c.\u201d \u0627\u0648\u0644\u0648\u06cc\u062a \u062f\u0627\u0631\u0646\u062f \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u062c\u0645\u0639 \u0648 \u062a\u0641\u0631\u06cc\u0642 \u062f\u0631 \u0627\u0628\u062a\u062f\u0627 \u0627\u0646\u062c\u0627\u0645 \u062e\u0648\u0627\u0647\u062f \u0634\u062f.\u0628\u0647 \u0645\u062b\u0627\u0644 \u0632\u06cc\u0631 \u0646\u06af\u0627\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">echo \"sum: \" . $a + $b; \r\n\/\/ would be executed as if the code were as follows.\r\necho \"sum :\" . ($a + $b);<\/pre>\n<p style=\"text-align: justify;\">\u0639\u0644\u0627\u0648\u0647 \u0628\u0631 \u062a\u0645\u0627\u0645 \u0645\u0648\u0627\u0631\u062f \u0648 \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627\u06cc \u0630\u06a9\u0631 \u0634\u062f\u0647 \u0628\u0631\u0627\u06cc php 7.4 \u0648\u062c\u0648\u062f \u0627\u067e\u0631\u0627\u062a\u0648\u0631 \u0645\u0633\u062a\u0642\u0644 \u0633\u0647 \u06af\u0627\u0646\u0647 (left associative ternary operator ) \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0686\u067e \u06af\u0631\u0627\u06cc\u06cc \u0628\u0648\u062f\u0646 \u0628\u0631\u0627\u06cc \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u0627\u0646 \u0648 \u0647\u0645\u0686\u0646\u06cc\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u067e\u0631\u0627\u0646\u062a\u0632 \u0631\u0627 \u067e\u06cc\u0634\u0646\u0647\u0627\u062f \u06a9\u0631\u062f\u0647 \u0627\u0633\u062a \u06a9\u0647 \u0627\u06cc\u0646 \u0645\u0648\u0636\u0648\u0639 \u0645\u0634\u06a9\u0644\u0627\u062a\u06cc \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u062e\u0648\u0627\u0647\u062f \u062f\u0627\u0634\u062a.<\/p>\n<h2 style=\"text-align: justify;\"><span style=\"color: #3366ff;\"><a id=\"d\"><\/a>\u0686\u06af\u0648\u0646\u0647 \u0648\u0631\u0698\u0646 php \u0631\u0627 \u0628\u0647 7.4 \u0627\u0631\u062a\u0642\u0627 \u062f\u0647\u06cc\u0645 \u061f<\/span><\/h2>\n<ol style=\"text-align: justify;\">\n<li>\u0648\u0627\u0631\u062f \u0633\u0627\u06cc\u062a \u067e\u0627\u0631\u0633 \u067e\u06a9 \u0634\u062f\u0647<\/li>\n<li>\u0627\u0632 \u0633\u0631\u0648\u06cc\u0633 \u062e\u0648\u062f \u06cc\u06a9 \u0646\u0633\u062e\u0647 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646 \u062a\u0647\u06cc\u0647 \u06a9\u0646\u06cc\u062f<\/li>\n<li>\u0627\u0632 \u0642\u0633\u0645\u062a \u062a\u06cc\u06a9\u062a \u0647\u0627\u060c \u0627\u0631\u0633\u0627\u0644 \u062a\u06cc\u06a9 \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f<\/li>\n<li>\u0633\u0631\u0648\u06cc\u0633 \u062e\u0648\u062f \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f<\/li>\n<li>\u0627\u0632 \u067e\u0634\u062a\u06cc\u0627\u0646 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u06a9\u0646\u06cc\u062f \u0648\u0631\u0698\u0646 php \u0634\u0645\u0627 \u0631\u0627 \u0628\u0647 \u0646\u0633\u062e\u0647 7.4 \u0627\u0631\u062a\u0642\u0627 \u062f\u0647\u062f<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>PHP \u0647\u0645\u0686\u0646\u0627\u0646 \u062f\u0631 \u062d\u0627\u0644 \u062a\u06a9\u0627\u0645\u0644 \u0648 \u0628\u0647 \u0631\u0648\u0632 \u0631\u0633\u0627\u0646\u06cc \u0627\u0633\u062a \u062a\u0627 \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627 \u0648 \u0639\u0645\u0644\u06a9\u0631\u062f \u062e\u0648\u062f \u0631\u0627 \u0628\u0647\u0628\u0648\u062f \u0648 \u0627\u0631\u062a\u0642\u0627 \u0628\u062e\u0634\u062f. php 7.4 \u062c\u062f\u06cc\u062f \u062a\u0631\u06cc\u0646 \u0646\u0633\u062e\u0647 \u0645\u06cc \u0628\u0627\u0634\u062f \u06a9\u0647 \u0628\u0647 \u062a\u0627\u0632\u06af\u06cc \u0627\u0631\u0627\u0626\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a \u0648 \u0639\u0645\u0644\u06a9\u0631\u062f \u0648 \u0633\u0631\u0639\u062a \u0622\u0646 \u0628\u0647 \u0637\u0631\u0632 \u0642\u0627\u0628\u0644 \u062a\u0648\u062c\u0647\u06cc \u0628\u0647\u062a\u0631 \u0634\u062f\u0647 \u0627\u0633\u062a. \u0645\u0633\u0626\u0648\u0644\u06cc\u0646 php \u0628\u0627 \u0634\u0646\u06cc\u062f\u0646 \u0648 \u062f\u0631\u06cc\u0627\u0641\u062a \u0646\u0638\u0631\u0627\u062a \u0645\u062e\u0627\u0637\u0628\u0627\u0646 \u062e\u0648\u062f [&hellip;]<\/p>\n","protected":false},"author":66,"featured_media":35677,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[],"class_list":["post-9256","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology-news"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/parspack.com\/blog\/wp-json\/wp\/v2\/posts\/9256","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/parspack.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/parspack.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/parspack.com\/blog\/wp-json\/wp\/v2\/users\/66"}],"replies":[{"embeddable":true,"href":"https:\/\/parspack.com\/blog\/wp-json\/wp\/v2\/comments?post=9256"}],"version-history":[{"count":3,"href":"https:\/\/parspack.com\/blog\/wp-json\/wp\/v2\/posts\/9256\/revisions"}],"predecessor-version":[{"id":49449,"href":"https:\/\/parspack.com\/blog\/wp-json\/wp\/v2\/posts\/9256\/revisions\/49449"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/parspack.com\/blog\/wp-json\/wp\/v2\/media\/35677"}],"wp:attachment":[{"href":"https:\/\/parspack.com\/blog\/wp-json\/wp\/v2\/media?parent=9256"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/parspack.com\/blog\/wp-json\/wp\/v2\/categories?post=9256"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/parspack.com\/blog\/wp-json\/wp\/v2\/tags?post=9256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}