@version 2.0.12
@version 2.0.13
$message = preg_replace_callback('~\[nobbc\](.+?)\[/nobbc\]~is', 'nobbc__preg_callback', $message);
// Remove empty bbc.
$message = preg_replace('~\[([^\]=\s]+)[^\]]*\](?' . '>\s|(?R))*?\[/\1\]\s?~i', '', $message);
$message = preg_replace_callback('~\[nobbc\](.+?)\[/nobbc\]~is', 'nobbc__preg_callback', $message);
@version 2.0.12
@version 2.0.13
// Input exceeds 4096.
if(strlen($str) > 4096)
return false;
// Input is not a string.
// Input is not a string.
case 3: // In array, expecting value or another array.
if($type == 'a')
{
// Array nesting exceeds 3.
if(count($stack) >= 3)
return false;
case 3: // In array, expecting value or another array.
if($type == 'a')
{
case 0:
if($type == 'a')
{
// Array nesting exceeds 3.
if(count($stack) >= 3)
return false;
case 0:
if($type == 'a')
{
if($type == 'i' || $type == 's')
{
// Array size exceeds 256.
if(count($list) >= 256)
return false;
// Array size exceeds expected length.
if($type == 'i' || $type == 's')
{
// Array size exceeds expected length.
<?php
global $boarddir, $modSettings;
require_once($boarddir . '/SSI.php');
if (!empty($modSettings['cal_maxyear']) && (int) $modSettings['cal_maxyear'] < 2030)
updateSettings(array('cal_maxyear' => 2030));