3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ 'max_cards' => 4, 'messages_spam_count' => 10, 'messages_per_page' => 50, 'min_password_length' => 5, 'max_password_length' => 42, 'min_login_length' => 2, 'max_login_length' => 255, 'mailer_address' => 'noreply@onliner.by', // Mark as spam 'spam_notification_to' => array('tigra@onliner.by'), 'spam_notification_subject' => 'Блокировка за спам', 'spam_notification_user_subject' => 'Ваша учетная запись на сайте Onliner.by заблокирована', 'spam_notification_by_users_request' => 'Следующие пользователи заблокированны из-за жалоб других пользователей:<br />%s', 'spam_notification_user_text' => 'Ваша учетная запись была автоматически заблокирована из-за многочисленных жалоб о рассылке спама. Если считаете, что вас заблокировали незаслуженно, то обратитесь в службу технической поддержки нашего сайта — <a href="http://support.onliner.by">support.onliner.by</a>', 'spam_autoban_notification' => 'Следующие пользователи заблокированы при попытке массовой рассылки за короткий промежуток времени:<br />%s', 'spam_autoban_max_messages' => 10, 'spam_autoban_check_interval' => 60, // seconds, 'cookies' => [ 'regions' => [ 'gomel' => [ 'onl_region' => 'gomel', 'catalog_region_select' => 'gomel', 'region' => 'region=304', 'pogoda_region' => 33041, ] ] ], 'papi' => [ 'url' => 'http://user.papi.onliner.' . DOMAIN, ] ]; var_dump(((object) $arr)->cookies);
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Undefined constant "DOMAIN" in /in/fLJ7f:37 Stack trace: #0 {main} thrown in /in/fLJ7f on line 37
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
46.25 ms | 401 KiB | 8 Q