Definitionپێناسە
PHP keeps the page's in (a buffer) for a while instead of sending it at once, so can still be added. XAMPP's php.ini turns it on (output_buffering = 4096), which can hide “headers already sent” mistakes that appear on other servers.
PHP لاپەڕەکە ماوەیەک لە (بافەرێکدا) ڕادەگرێت لە جیاتی ئەوەی دەستبەجێ بینێرێت، بۆیە هێشتا دەتوانرێت زیاد بکرێن. php.iniـی XAMPP هەڵیدەکات (output_buffering = 4096)، کە دەتوانێت ئەو هەڵانەی «headers already sent» بشارێتەوە کە لەسەر ڕاژەکارەکانی تر دەردەکەون.
Exampleنموونە
With buffering on, this works on XAMPP; with buffering off it gives a warning.
کاتێک ڕاگرتن هەڵکراوە ئەمە لەسەر XAMPP کار دەکات؛ کاتێک کوژاوەتەوە ئاگادارکردنەوە دەدات.
<p>Hello</p>
<?php
setcookie('user', 'Aram'); // too late without output bufferingOther Kurdish renderings in useوەرگێڕانە کوردییەکانی تر
بافەرکردنی دەرخستە، ڕاگرتنی دەرخستەکە، ڕاگرتنی دەرخستەی
Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە
No established Kurdish term. ڕاگرتن ('holding back') describes what the buffer does; بافەر is the loanword many programmers use.