[ create a new paste ] login | about

Link: http://codepad.org/LHWt86zb    [ raw code | output | fork ]

PHP, pasted on Mar 14:
1
2
3
4
5
6
7
8
9
10
<?
$value = 1?2:3;
echo($value);
?>

<?
$col = "subject";
$col = preg_match('/^(subject|content|writer)$/isDU',$col) ? $col : $col;
echo($col);
?>


Output:
1
2
3
4
2

Warning: preg_match(): Internal pcre_fullinfo() error -3 on line 8
subject


Create a new paste based on this one


Comments: