Skip to content

Instantly share code, notes, and snippets.

View fish-ball's full-sized avatar

Alfred Huang fish-ball

View GitHub Profile
@fish-ball
fish-ball / helpers.de.php
Created April 13, 2016 14:53
/app/base/ego/helpers.php
<?php
class base_static_utils
{
public static function addslashes_array($value)
{
if (empty($value)) {
return $value;
} else {
if (is_array($value)) {
/*
Copyright (c) 2008, Adobe Systems Incorporated
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.