100+ results results for 'php unserialize' (356 ms)
1<?php 2 126 if ($data) { 127 $data = @unserialize($this->prepareForUnserialize($data)); 128 142 */ 143 protected function prepareForUnserialize($data) 144 {admin.php https://bitbucket.org/johnroyer/phpwind8.7.git | PHP | 303 lines
1<?php 2!function_exists('adminmsg') && exit('Forbidden'); 3 4require_once(R_P.'require/credit.php'); 5 75 !$rt['creditype'] && $rt['creditype'] = 'currency'; 76 $condition = unserialize($rt['conditions']); 77 $groupids = $condition['group']; 268 269 require_once(R_P.'require/bbscode.php'); 270 S::gp(array('page','keyword'));single_product.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 229 lines
31 <a rel="<?php echo str_replace(array(" ", '"',"'", '"','''), array("_", "", "", "",''), wpsc_the_product_title()); ?>" class="thickbox preview_link" href="<?php echo wpsc_the_product_image(); ?>"> 32 <img class="product_image" id="product_image_<?php echo wpsc_the_product_id(); ?>" alt="<?php echo wpsc_the_product_title(); ?>" title="<?php echo wpsc_the_product_title(); ?>" src="<?php echo wpsc_the_product_image($image_width, $image_height); ?>" /> 33 </a> 118 <?php while (wpsc_have_variations()) : wpsc_the_variation(); ?> 119 <option value="<?php echo wpsc_the_variation_id(); ?>" <?php echo wpsc_the_variation_out_of_stock(); ?>><?php echo wpsc_the_variation_name(); ?></option> 120 <?php endwhile; ?> 149 <?php endif; ?> 150 <span id="product_price_<?php echo wpsc_the_product_id(); ?>" class="pricedisplay"><?php echo wpsc_the_product_price(); ?></span><?php echo __('Price', 'wpsc'); ?>: <br/> 151 <!-- multi currency code --> 177 <?php $action = wpsc_product_external_link(wpsc_the_product_id()); ?> 178 <input class="wpsc_buy_button" type='button' value='<?php echo __('Buy Now', 'wpsc'); ?>' onclick='gotoexternallink("<?php echo $action; ?>")'> 179 <?php else: ?> 209 210 <form onsubmit="submitform(this);return false;" action="<?php echo wpsc_this_page_url(); ?>" method="post" name="product_<?php echo wpsc_the_product_id(); ?>" id="product_extra_<?php echo wpsc_the_product_id(); ?>"> 211 <input type="hidden" value="<?php echo wpsc_the_product_id(); ?>" name="prodid"/>admin_review.php https://bitbucket.org/prat_h/rakbuku.git | PHP | 501 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2 2 3require_once(APPPATH.'controllers/project.php'); 4 192 193 $this->data["reviewers"] = $unseri = unserialize($reviewers); 194lxportmonitor.php https://github.com/lxcenter/hypervm.git | PHP | 526 lines
1<?php 2 217 218 $res = unserialize(base64_decode($data)); 219 243 244 $ch = curl_init("http://$raddress:$port/htmllib/mibin/monitordata.php"); 245 curl_setopt($ch, CURLOPT_POST, true); 462 463 $val = @ file_get_contents("commands.php"); 464 if ($val === "2") {index.php https://gitlab.com/iarafat/web-apps-php-b-26 | PHP | 234 lines
27 <body> 28 <?php include_once "include/log-navbar.php"; ?> 29 <div class="container"> 102 <td><?php echo $onedata['dateofbirth'] ?></td> 103 <td><?php echo $onedata['height'] ?></td> 104 </tr> 165 <td><?php echo $onedata['Blood_group'] ?></td> 166 <td><?php $addata = unserialize($onedata['address']); 167 echo $addata['address_one'] . ", "; 200 201 <td><a href="profile2.php?id=<?php echo $onedata['users_id'] ?>">View</a></td> 202 <td><a href="profile.php?id=<?php echo $onedata['users_id'] ?>">Edit</a></td> 203 <td><?php if ($onedata['is_admin'] == 0) { ?> 204 <a href="trash.php?id=<?php echo $onedata['users_id'] ?>">Delete</a> 205 <?php } ?>user.php https://bitbucket.org/jonarano/joneame.git | PHP | 283 lines
26 27 require_once(mnminclude.'avatars.php'); 28 require_once(mnminclude.'geo.php'); 129 130 include_once mnminclude.'annotation.php'; 131 140 ) { 141 $obj = unserialize($stats->text); 142 } else { 194 function get_latlng() { 195 require_once(mnminclude.'geo.php'); 196Key.php https://github.com/drobbins/s3db.git | PHP | 316 lines
1<?php 2/** 9 * 10 * LICENSE: This source file is subject to version 3.0 of the PHP license 11 * that is available through the world-wide-web at the following URI: 11 * that is available through the world-wide-web at the following URI: 12 * http://www.php.net/license/3_0.txt. If you did not receive a copy of 13 * the PHP License and are unable to obtain it through the web, please 13 * the PHP License and are unable to obtain it through the web, please 14 * send a note to license@php.net so we can mail you a copy immediately. 15 * 19 * @copyright 2005, 2006 Alexander Valyalkin 20 * @license http://www.php.net/license/3_0.txt PHP License 3.0 21 * @version 1.2.0b 89 * @copyright 2005, 2006 Alexander Valyalkin 90 * @license http://www.php.net/license/3_0.txt PHP License 3.0 91 * @link http://pear.php.net/package/Crypt_RSABaseVarDumper.php https://gitlab.com/makkooz/nikestreetbeat | PHP | 271 lines
1<?php 2/** 55 if ($highlight) { 56 $result = highlight_string("<?php\n" . self::$_output, true); 57 self::$_output = preg_replace('/<\\?php<br \\/>/', '', $result, 1); 140 * 141 * The string is a valid PHP expression that can be evaluated by PHP parser 142 * and the evaluation result will give back the variable value. 146 * 147 * It also handles objects by using the PHP functions serialize() and unserialize(). 148 * 148 * 149 * PHP 5.4 or above is required to parse the exported value. 150 * 195 try { 196 $output = 'unserialize(' . var_export(serialize($var), true) . ')'; 197 } catch (\Exception $e) {acf-meta-functions.php https://gitlab.com/suporte.spturis/carnaval2015.spturis.com.br | PHP | 384 lines
1<?php 2 48 49 // Unserialized results (get_metadata does not unserialize if $key is empty). 50 $meta = array_map( 'maybe_unserialize', $meta );Weee.php https://gitlab.com/yousafsyed/easternglamor | PHP | 200 lines
1<?php 2/** 38 * @return $this 39 * @SuppressWarnings(PHPMD.CyclomaticComplexity) 40 * @SuppressWarnings(PHPMD.NPathComplexity) 40 * @SuppressWarnings(PHPMD.NPathComplexity) 41 * @SuppressWarnings(PHPMD.ExcessiveMethodLength) 42 */ 96 if ($item->getTaxRatio()) { 97 $taxRatio = unserialize($item->getTaxRatio()); 98 }ArrayObject.php https://gitlab.com/reasonat/test8 | PHP | 432 lines
1<?php 2/** 399 /** 400 * Unserialize an ArrayObject 401 * 404 */ 405 public function unserialize($data) 406 { 406 { 407 $ar = unserialize($data); 408 $this->protectedProperties = array_keys(get_object_vars($this));sfsi_plus_subscribe_widget.php https://gitlab.com/vanafroo/landingpage | PHP | 248 lines
1<?php 2//Add Subscriber form css 5{ 6 $option9 = unserialize(get_option('sfsi_plus_section9_options',false)); 7 $sfsi_plus_feediid = sanitize_text_field(get_option('sfsi_plus_feed_id')); 12 jQuery(document).ready(function(e) { 13 jQuery("body").addClass("sfsi_plus_<?php echo get_option("sfsi_plus_pluginVersion");?>") 14 }); 15 function sfsi_plus_processfurther(ref) { 16 var feed_id = '<?php echo $sfsi_plus_feediid?>'; 17 var feedtype = 8; 21 if (feedtype == "8") { 22 var url = "<?php echo $url; ?>"+feed_id+"/"+feedtype; 23 window.open(url, "popupwindow", "scrollbars=yes,width=1080,height=760"); 200 <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title' ); ?>:</label> 201 <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" /> 202 </p>du.php https://bitbucket.org/lordgnu/greyhole.git | PHP | 326 lines
1<?php 2/* 30 <div>Please wait for fsck to run once.</div> 31 <?php 32 38 39require_once('includes/common.php'); 40 41exec("tail -2 $data_file | grep '^# '", $results); 42$shares_options = unserialize(substr($results[0], 2)); 43unset($results); 177 178<?php render_header('Greyhole Disk Usage') ?> 179 180<h1>Greyhole Storage Pool Disk Usage 181 <?php if ($root_dir == '/'): ?> 182 - All SharesCache.php https://github.com/cawago/ci_campusync_auth.git | PHP | 416 lines
1<?php 2/* 2/* 3 * $Id: Cache.php 5798 2009-06-02 15:10:46Z piccoloprincipe $ 4 * 18 * and is licensed under the LGPL. For more information, see 19 * <http://www.phpdoctrine.org>. 20 */ 27 * @author Konsta Vesterinen <kvesteri@cc.hut.fi> 28 * @license http://www.opensource.org/licenses/lgpl-license.php LGPL 29 * @link www.phpdoctrine.org 270 271 return array_map('unserialize', $e); 272 }wp-cache-phase1.php https://github.com/brandonburke/WordPress-Plugin-Baseline.git | PHP | 264 lines
1<?php 2// Pre-2.6 compatibility 5 6if( !include( WP_CONTENT_DIR . '/wp-cache-config.php' ) ) 7 return true; 10 11include( WPCACHEHOME . 'wp-cache-base.php'); 12 26 27require_once( WPCACHEHOME . 'wp-cache-phase2.php'); 28 28 29$plugins = glob( $wp_cache_plugins_dir . '/*.php' ); 30if( is_array( $plugins ) ) { 48function gzip_accepted(){ 49 if( ini_get( 'zlib.output_compression' ) ) // don't compress WP-Cache data files when PHP is already doing it 50 return false;internal-link-aliases.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 374 lines
1<?php 2 34 if (suwp::permalink_mode() != SUWP_PRETTY_PERMALINKS) 35 $this->print_message('error', sprintf(__('Link Mask Generator won’t work with default or “pathinfo” permalinks. Please change your <a href="%s">permalink structure</a> to enable this module’s functionality.', 'seo-ultimate'), 'options-permalink.php')); 36 53 $aliases = $this->get_setting('aliases', array()); 54 $aliases = array_map('unserialize', array_unique(array_map('serialize', $aliases))); 55 $aliases = array_filter($aliases, array(&$this, 'remove_empty_aliases'));SQLite3.php https://gitlab.com/dmsapiens/physicians | PHP | 322 lines
22 * @package PHPExcel_CachedObjectStorage 23 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 33 * @package PHPExcel_CachedObjectStorage 34 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel) 35 */ 35 */ 36class PHPExcel_CachedObjectStorage_SQLite3 extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache { 37 103 * @param string $pCoord Coordinate of the cell 104 * @throws PHPExcel_Exception 105 * @return PHPExcel_Cell Cell that was found, or null if not found 309 * Identify whether the caching method is currently available 310 * Some methods are dependent on the availability of certain extensions being enabled in the PHP build 311 *scrut_prop.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 329 lines
1<?php 2 154 //les obligatoires 155 $obligatoires = unserialize(_request('obligatoires')); 156 $valeur_champs_obligatoire = array();arrayhelper.php https://github.com/nikosdion/Akeeba-Example.git | PHP | 461 lines
1<?php 2/** 436 * 437 * @see http://php.net/manual/en/function.array-unique.php 438 * @since 11.2 455 { 456 $myvalue = unserialize($myvalue); 457 }class.utils.php https://gitlab.com/sokeara/Tribal_Education | PHP | 351 lines
1<?php 2// Exit if accessed directly 95 /** 96 * PHP_SAPI for fcgi requires a data flush of at least 256 97 * bytes every 40 seconds or else it forces a script hault 144 $row = @mysqli_fetch_array($query); 145 $all_plugins = unserialize($row[0]); 146 if (is_array($all_plugins)) { 327 //FALL BACK: Windows XP has bug with glob, 328 //add secondary check for PHP lameness 329 if ($dh = opendir('.'))view.php https://gitlab.com/agustus/wisata-web | PHP | 269 lines
5 <h3 class="page-title"> 6 <?php echo $title;?> <small><?php echo $description;?></small> 7 </h3> 152 <label class="control-label">Deskripsi Wisata</label> 153 <?php echo (!empty($dataWisata['deskripsi_wisata_kuliner']))?$dataWisata['deskripsi_wisata_kuliner']:'';?> 154 </div> 175 <td class="text-left"> 176 <img src="<?php echo base_url("assets/upload/".$dataGaleri['url_foto']); ?>" id="url_foto<?php echo $image_row; ?>" height="100" width="100" alt="1" title="" /> 177 </td> 179 <td class="text-right"> 180 <input type="text" disabled name="foto[<?php echo $image_row; ?>][nama_foto]" value="<?php echo $dataGaleri['nama_foto']; ?>" class="form-control" /> 181 </td> 183 <td class="text-right"> 184 <input type="text" disabled name="foto[<?php echo $image_row; ?>][deskripsi_foto]" value="<?php echo $dataGaleri['deskripsi_foto']; ?>" class="form-control" /> 185 </td>file_set.php https://github.com/rii-J/concrete5-de.git | PHP | 336 lines
1<?php 2 122 $row2 = $db->GetRow('select fsSearchRequest, fsResultColumns from FileSetSavedSearches where fsID = ?', array($fsID)); 123 $fs->fsSearchRequest = @unserialize($row2['fsSearchRequest']); 124 $fs->fsResultColumns = @unserialize($row2['fsResultColumns']);credit.php https://bitbucket.org/johnroyer/phpwind8.7.git | PHP | 348 lines
1<?php 2!function_exists('readover') && exit('Forbidden'); 5 * 6 * phpwind 積分操作統一入口 7 * @author sky_hold@163.com 51 function creditset($f_set,$d_set) { 52 if (!is_array($f_set)) $f_set = unserialize($f_set); 53 if (!is_array($d_set)) $d_set = unserialize($d_set); 204 if ($uc_server && $uc_syncredit) { 205 require_once(R_P . 'uc_client/uc_client.php'); 206 $retv = uc_credit_add($setUser, $isAdd);Converter.php https://gitlab.com/xibalba/ocelote | PHP | 322 lines
1<?php 2/** 3 * @copyright 2014 - 2019 Xibalba Lab. 4 * @license http://opensource.org/licenses/bsd-license.php 5 * @link https://gitlab.com/xibalba/ocelote 172 else if (Checker::isJson($resource)) $resource = json_decode($resource, true); 173 else if (Checker::isSerialized($resource)) $resource = unserialize($resource); 174 else if (Checker::isXml($resource)) $resource = static::xmlToArray(simplexml_load_string($resource)); 203 else if (Checker::isXml($resource)) $resource = static::xmlToArray(simplexml_load_string($resource)); 204 else if (Checker::isSerialized($resource)) $resource = unserialize($resource); 205 else if (Checker::isBag($resource)) return json_encode($resource->toArray(), $options); 221 else if (Checker::isJson($resource)) $resource = json_decode($resource, true); 222 else if (Checker::isSerialized($resource)) $resource = unserialize($resource); 223 else if (Checker::isXml($resource)) $resource = static::xmlToArray(simplexml_load_string($resource)); 261 * 262 * @see http://php.net/manual/en/function.parse-str.php `parse_str()` official documentation. 263 *PhpReferenceCompatibility.php https://gitlab.com/x33n/ImpressPages | PHP | 433 lines
1<?php 2/** 21 * This ArrayObject is a rewrite of the implementation to fix 22 * issues with php's implementation of ArrayObject where you 23 * are unable to unset multi-dimensional arrays because you 25 */ 26abstract class PhpReferenceCompatibility implements IteratorAggregate, ArrayAccess, Serializable, Countable 27{ 403 /** 404 * Unserialize an ArrayObject 405 * 408 */ 409 public function unserialize($data) 410 { 410 { 411 $ar = unserialize($data); 412 $this->setFlags($ar['flag']);extension.cache.sqlite3.php https://gitlab.com/x33n/ampache | PHP | 265 lines
1<?php 2///////////////////////////////////////////////////////////////////////////////// 8/// // 9// extension.cache.sqlite3.php - part of getID3() // 10// Please see readme.txt for more information // 24* 25* require_once 'getid3/getid3.php'; 26* $getID3 = new getID3; 32* 33* require_once 'getid3/getid3.php'; 34* require_once 'getid3/extension.cache.sqlite3.php'; 49* 50* sqlite3 table='getid3_cache', hide=false (PHP5) 51* 76* db3 dbm_filename, lock_filename 77* db4 dbm_filename, lock_filename (PHP5 required) 78*phpBB.php https://bitbucket.org/adatux_/uakami.git | PHP | 538 lines
1<?php 2 3/** 4 * Implementation of phpBB converter. 5 */ 5 */ 6class phpBB extends BBP_Converter_Base { 7 function __construct() { 357 'to_fieldname' => '_bbp_class', 358 'default' => 'phpBB' 359 ); 438 $itoa64 = './0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'; 439 $pass_array = unserialize($serialized_pass); 440 if (strlen($pass_array['hash']) == 34) { 472 * We're kind of forced to use MD5 here since it's the only 473 * cryptographic primitive available in all versions of PHP 474 * currently in use. To implement our own low-level cryptoMailer.php https://gitlab.com/xolotsoft/pumasruiz | PHP | 504 lines
1<?php namespace Illuminate\Mail; 2 252 { 253 return with(unserialize($data['callback']))->getClosure(); 254 }AbstractTokenTest.php https://gitlab.com/fabian.morales/marlon_becerra | PHP | 285 lines
1<?php 2 48 49 public function unserialize($serialized) 50 { 50 { 51 list($this->credentials, $parentStr) = unserialize($serialized); 52 parent::unserialize($parentStr); 57 58class AbstractTokenTest extends \PHPUnit_Framework_TestCase 59{ 87 * @covers Symfony\Component\Security\Core\Authentication\Token\AbstractToken::serialize 88 * @covers Symfony\Component\Security\Core\Authentication\Token\AbstractToken::unserialize 89 */ 94 95 $uToken = unserialize(serialize($token)); 96class.splqueue.html https://bitbucket.org/thncr/manuals.git | HTML | 216 lines
11 <div class="up"><a href="spl.datastructures.html">数据结构</a></div> 12 <div class="home"><a href="index.html">PHP Manual</a></div> 13</div><hr /><div id="class.splqueue" class="reference"> 16 17 <div class="partintro"><p class="verinfo">(PHP 5 >= 5.3.0)</p> 18 162<div class="methodsynopsis dc-description"> 163 <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="spldoublylinkedlist.unserialize.html" class="methodname">SplDoublyLinkedList::unserialize</a></span> 164 ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$serialized</code></span> 214 <div class="up"><a href="spl.datastructures.html">数据结构</a></div> 215 <div class="home"><a href="index.html">PHP Manual</a></div> 216</div></body></html>ProxyMagicMethodsTest.php https://github.com/nattaphat/hgis.git | PHP | 285 lines
1<?php 2/* 24use Doctrine\Common\Proxy\Exception\UnexpectedValueException; 25use PHPUnit_Framework_TestCase; 26use ReflectionClass; 32 */ 33class ProxyMagicMethodsTest extends PHPUnit_Framework_TestCase 34{ 50 /** 51 * @var \PHPUnit_Framework_MockObject_MockObject|Callable 52 */ 136 137 $unserialized = unserialize(serialize($proxy)); 138 150 $proxy->wakeupValue = 'changedValue'; 151 $unserialized = unserialize(serialize($proxy)); 152DumpDataCollector.php https://gitlab.com/madwanz64/laravel | PHP | 296 lines
1<?php 2 53 $this->fileLinkFormat = $fileLinkFormat ?: ini_get('xdebug.file_link_format') ?: get_cfg_var('xdebug.file_link_format'); 54 $this->charset = $charset ?: ini_get('php.output_encoding') ?: ini_get('default_charset') ?: 'UTF-8'; 55 $this->requestStack = $requestStack; 127 if ($response->headers->has('Content-Type') && str_contains($response->headers->get('Content-Type'), 'html')) { 128 $dumper = new HtmlDumper('php://output', $this->charset); 129 $dumper->setDisplayOptions(['fileLinkFormat' => $this->fileLinkFormat]); 130 } else { 131 $dumper = new CliDumper('php://output', $this->charset); 132 if (method_exists($dumper, 'setDisplayOptions')) { 187 if (!\is_string($dump['name']) || !\is_string($dump['file']) || !\is_int($dump['line'])) { 188 throw new \BadMethodCallException('Cannot unserialize '.__CLASS__); 189 } 244 245 if (!\in_array(\PHP_SAPI, ['cli', 'phpdbg'], true) && stripos($h[$i], 'html')) { 246 $dumper = new HtmlDumper('php://output', $this->charset);locallib.php https://github.com/dataview/Moodle2_NZ_Schools.git | PHP | 306 lines
1<?php 2 29 30require_once("$CFG->libdir/filelib.php"); 31require_once("$CFG->libdir/resourcelib.php"); 31require_once("$CFG->libdir/resourcelib.php"); 32require_once("$CFG->dirroot/mod/extsearch/lib.php"); 33 60 61 $options = empty($extsearch->displayoptions) ? array() : unserialize($extsearch->displayoptions); 62 78 79 $options = empty($extsearch->displayoptions) ? array() : unserialize($extsearch->displayoptions); 80 if ($ignoresettings or !empty($options['printintro'])) { 256 if (strpos($extsearch->externalurl, $CFG->wwwroot) === 0) { 257 if (strpos($extsearch->externalurl, 'file.php') === false and strpos($extsearch->externalurl, '.php') !== false ) { 258 // most probably our moodle page with navigationItem.php https://gitlab.com/ricardosanchez/prueba | PHP | 398 lines
1<?php 2/** 113 114 public function unserialize($serialized) 115 { 116 // FIXME: need to create collection class to gather the sibling data. 117 $data = unserialize($serialized); 118ServiceMetadata.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 292 lines
1<?php 2/** 144 if ($servicesConfig && is_string($servicesConfig) && $typesData && is_string($typesData)) { 145 $this->services = unserialize($servicesConfig); 146 $this->typeProcessor->setTypesData(unserialize($typesData)); 185 * @throws \InvalidArgumentException 186 * @SuppressWarnings(PHPMD.CyclomaticComplexity) 187 */ 258 if ($routesConfig && is_string($routesConfig) && $typesData && is_string($typesData)) { 259 $this->routes = unserialize($routesConfig); 260 $this->typeProcessor->setTypesData(unserialize($typesData));graminfo.php https://github.com/Oreolek/Togataltu.git | PHP | 338 lines
88 89abstract class phpMorphy_GramInfo implements phpMorphy_GramInfo_Interace { 90 const HEADER_SIZE = 128; 208 209class phpMorphy_GramInfo_Decorator implements phpMorphy_GramInfo_Interace { 210 protected $info; 250 251class phpMorphy_GramInfo_Proxy_WithHeader extends phpMorphy_GramInfo_Proxy { 252 protected 291 292class phpMorphy_GramInfo_RuntimeCaching extends phpMorphy_GramInfo_Decorator { 293 protected 307 308class phpMorphy_GramInfo_AncodeCache extends phpMorphy_GramInfo_Decorator { 309 publicCache_File.php https://gitlab.com/karlen/ayo_wp | PHP | 455 lines
1<?php 2namespace W3TC; 117 @fputs( $fp, pack( 'L', $expires_at ) ); 118 @fputs( $fp, '<?php exit; ?>' ); 119 @fputs( $fp, @serialize( $var ) ); 137 if ( !empty( $data ) ) 138 $data_unserialized = @unserialize( $data ); 139 else 139 else 140 $data_unserialized = $data; 141 141 142 return array( $data_unserialized, $has_old_data ); 143 } 315 316 $path = sprintf( '%s/%s/%s.php', substr( $hash, 0, 3 ), substr( $hash, 3, 3 ), $hash ); 317translated-object.php https://gitlab.com/hop23typhu/bryepoxy | PHP | 272 lines
1<?php 2 119 // take care not to overwrite extra data stored in description field, if any 120 $d = unserialize( $term->description ); 121 $d = is_array( $d ) ? array_diff_key( $d, $old_translations ) : array(); // remove old translations 153 if ( ! empty( $term ) ) { 154 $d = unserialize( $term->description ); 155 $slug = array_search( $id, $this->get_translations( $id ) ); // in case some plugin stores the same value with different key 176 $term = $this->get_object_term( $id, $this->tax_translations ); 177 $translations = empty( $term ) ? array() : unserialize( $term->description ); 178Event.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 340 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 196 if (!empty($data['new_data'])) { 197 $previousNewData = unserialize($data['new_data']); 198 $currentNewData = $this->getNewData(false); 255 if (is_string($data)) { 256 $data = unserialize($data); 257 } elseif (empty($data) || !is_array($data)) {PythonPickleUnserializeTest.php https://github.com/sidealice/zf2.git | PHP | 384 lines
1<?php 2/** 36 */ 37class PythonPickleUnserializeTest extends \PHPUnit_Framework_TestCase 38{ 51 52 public function testUnserializeNone() 53 { 56 57 $data = $this->_adapter->unserialize($value); 58 $this->assertEquals($expected, $data); 60 61 public function testUnserializeNewTrue() 62 { 65 66 $data = $this->_adapter->unserialize($value); 67 $this->assertEquals($expected, $data);fileman_newfolder.php https://gitlab.com/alexprowars/bitrix | PHP | 302 lines
1<? 2require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php"); 3 33{ 34 if(!$USER->CanDoFileOperation('fm_edit_existent_file',Array($site, $path."/.".$key.".menu.php"))) 35 continue; 74 $arParsedPathTmp = CFileMan::ParsePath(Array($site, $pathto), true, false, "", $logical == "Y"); 75 $menu_path = $arParsedPathTmp["PREV"]."/.".$menutype.".menu.php"; 76 if($USER->CanDoFileOperation('fm_view_file',Array($site, $menu_path))) 113 } 114 $APPLICATION->SaveFileContent($DOC_ROOT.$pathto."/.section.php", "<?\n\$sSectionName=\"".CFileMan::EscapePHPString($sectionname)."\";\n?>"); 115 } 124 if($toedit=="Y") 125 LocalRedirect("/bitrix/admin/fileman_html_edit.php?".$addUrl."&site=".$site."&template=".Urlencode($template)."&path=".UrlEncode($pathto)."&filename=index.php&new=Y".($back_url == '' ?"":"&back_url=".UrlEncode($back_url)).($gotonewpage == ''?"":"&gotonewpage=".UrlEncode($gotonewpage)).($backnewurl == ''?"":"&backnewurl=".UrlEncode($backnewurl))); 126 elseAspect.php https://github.com/JeCat/framework.git | PHP | 368 lines
1<?php 2//////////////////////////////////////////////////////////////////////////////////////////////////////////// 2//////////////////////////////////////////////////////////////////////////////////////////////////////////// 3// 这个文件是 JeCat PHP框架的一部分,该项目和此文件 均遵循 GNU 自由软件协议 4// 7// 8// JeCat PHP框架 的正式全名是:Jellicle Cat PHP Framework。 9// “Jellicle Cat”出自 Andrew Lloyd Webber的音乐剧《猫》(《Prologue:Jellicle Songs for Jellicle Cats》)。 9// “Jellicle Cat”出自 Andrew Lloyd Webber的音乐剧《猫》(《Prologue:Jellicle Songs for Jellicle Cats》)。 10// JeCat 是一个开源项目,它像音乐剧中的猫一样自由,你可以毫无顾忌地使用JCAT PHP框架。JCAT 由中国团队开发维护。 11// 正在使用的这个版本是:0.7.1 92 $aClassCompiler = CompilerFactory::singleton()->create() ; 93 $aAspectTokens = $aClassCompiler->scan( new InputStreamCache('<?php '.$sSource.' ?>') ) ; 94 $aClassCompiler->interpret($aAspectTokens) ; 216 */ 217 public function unserialize ($serialized) 218 {update.php https://github.com/jao/jpcamargo.git | PHP | 334 lines
11 * 12 * The WordPress version, PHP version, and Locale is sent. Checks against the 13 * WordPress server at api.wordpress.org server. Will only check if WordPress 26 global $wp_version, $wpdb, $wp_local_package; 27 $php_version = phpversion(); 28 46 $local_package = isset( $wp_local_package )? $wp_local_package : ''; 47 $url = "http://api.wordpress.org/core/version-check/1.3/?version=$wp_version&php=$php_version&locale=$locale&mysql=$mysql_version&local_package=$local_package"; 48 89 * 90 * The WordPress version, PHP version, and Locale is sent along with a list of 91 * all plugins installed. Checks against the WordPress server at 117 $new_option->last_checked = time(); 118 $timeout = 'load-plugins.php' == current_filter() ? 3600 : 43200; //Check for updated every 60 minutes if hitting the themes page, Else, check every 12 hours 119 $time_not_changed = isset( $current->last_checked ) && $timeout > ( time() - $current->last_checked );FileStorage.php https://github.com/vohnicky/treeview.git | PHP | 451 lines
1<?php 2 6 * @copyright Copyright (c) 2004, 2010 David Grudl 7 * @license http://nettephp.com/license Nette license 8 * @link http://nettephp.com 228 $head = serialize($meta) . '?>'; 229 $head = '<?php //netteCache[01]' . str_pad((string) strlen($head), 6, '0', STR_PAD_LEFT) . $head; 230 $headLen = strlen($head); 356 $meta = stream_get_contents($handle, $size, self::META_HEADER_LEN); 357 $meta = @unserialize($meta); // intentionally @ 358 if (is_array($meta)) { 358 if (is_array($meta)) { 359 fseek($handle, $size + self::META_HEADER_LEN); // needed by PHP < 5.2.6 360 $meta[self::FILE] = $file; 384 } else { 385 return @unserialize($data); // intentionally @ 386 }admin-sync.php https://gitlab.com/hop23typhu/bryepoxy | PHP | 358 lines
1<?php 2 55 public function add_meta_boxes( $post_type, $post ) { 56 if ( 'post-new.php' == $GLOBALS['pagenow'] && isset( $_GET['from_post'], $_GET['new_lang'] ) && $this->model->is_translated_post_type( $post->post_type ) ) { 57 // capability check already done in post-new.php 211 foreach ( $metas[ $key ] as $value ) { 212 // important: always maybe_unserialize value coming from get_post_custom. See codex. 213 // thanks to goncalveshugo http://wordpress.org/support/topic/plugin-polylang-pll_copy_post_meta 213 // thanks to goncalveshugo http://wordpress.org/support/topic/plugin-polylang-pll_copy_post_meta 214 $value = maybe_unserialize( $value ); 215 // special case for featured images which can be translatedAbstractSessionArrayStorage.php https://bitbucket.org/saifshuvo/zf2.git | PHP | 484 lines
1<?php 2/** 180 /** 181 * Unserialize 182 * 185 */ 186 public function unserialize($session) 187 { 187 { 188 return unserialize($session); 189 }FileEngine.php https://bitbucket.org/ManiAdil/jardinorient.git | PHP | 373 lines
1<?php 2/** 8 * 9 * PHP 5 10 * 10 * 11 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 12 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) 17 * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) 18 * @link http://cakephp.org CakePHP(tm) Project 19 * @since CakePHP(tm) v 1.2.0.4933 19 * @since CakePHP(tm) v 1.2.0.4933 20 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 21 */ 194 } 195 $data = unserialize((string)$data); 196 }wiki_document.php https://github.com/nadavkav/Moodle-RTL--Shenkar-Translation-Team-.git | PHP | 280 lines
1<?php 2/** 17* Functions for iterating and retrieving the necessary records are now also included 18* in this file, rather than mod/wiki/lib.php 19*/ 23*/ 24require_once("$CFG->dirroot/search/documents/document.php"); 25require_once("$CFG->dirroot/mod/wiki/lib.php"); 76 77 return $CFG->wwwroot.'/mod/wiki/view.php?wid='.$wikiId.'&page='.wiki_name_convert($title).'&version='.$version; 78} //wiki_make_link 80/** 81* rescued and converted from ewikimoodlelib.php 82* retrieves latest version of a page 106 if (isset($result_obj)) { 107 $result_obj->meta = @unserialize($result_obj->meta); 108 return $result_obj;index.php https://bitbucket.org/anneivycat/ebcookhouse.git | PHP | 223 lines
81 <th class="manage-column column-comments num" id="id" style="padding-top:7px; width:2.5%;" scope="col" title="Click to Sort"><?php _e('ID','event_espresso'); ?></th> 82 <th class="manage-column column-title" id="name" scope="col" title="Click to Sort" style="width:20%;"><?php _e('Name','event_espresso'); ?></th> 83 <?php if (function_exists('espresso_is_admin')&&espresso_is_admin()==true && $espresso_premium == true){ ?> 123 <tr> 124 <td class="check-column" style="padding:7px 0 22px 5px; vertical-align:top;"><input name="checkbox[<?php echo $venue_id?>]" type="checkbox" title="Delete <?php echo stripslashes($name)?>"></td> 125 <td class="column-comments" style="padding-top:3px;"><?php echo $venue_id?></td> 125 <td class="column-comments" style="padding-top:3px;"><?php echo $venue_id?></td> 126 <td class="post-title page-title column-title"><strong><a href="admin.php?page=event_venues&action=edit&id=<?php echo $venue_id?>"><?php echo $name?></a></strong> 127 <div class="row-actions"> <span class="edit"><a href="admin.php?page=event_venues&action=edit&id=<?php echo $venue_id?>"> 128 <?php _e('Edit', 'event_espresso'); ?> 129 </a> | </span> <span class="delete"><a onclick="return confirmDelete();" class="submitdelete" href="admin.php?page=event_venues&action=delete_venue&id=<?php echo $venue_id?>"> 130 <?php _e('Delete', 'event_espresso'); ?> 180 <p> 181 <?php _e('Once you have created a locale in the <a href="admin.php?page=event_locales"> Manage Locales/Regions</a> page it will be available to select on the \'Add a Venue\' page', 'event_espresso')?> 182 </p>FilterTest.php https://gitlab.com/oytunistrator/92five | PHP | 305 lines
1<?php 2/** 2/** 3 * PHP_CodeCoverage 4 * 4 * 5 * Copyright (c) 2009-2014, Sebastian Bergmann <sebastian@phpunit.de>. 6 * All rights reserved. 36 * 37 * @category PHP 38 * @package CodeCoverage 66 */ 67class PHP_CodeCoverage_FilterTest extends PHPUnit_Framework_TestCase 68{ 73 { 74 $this->filter = unserialize('O:23:"PHP_CodeCoverage_Filter":0:{}'); 75hidefl.c https://bitbucket.org/lingfeng_xiang/php-ext-hidefl.git | C | 386 lines
39PHP_INI_BEGIN() 40 STD_PHP_INI_ENTRY("hidefl.data_path", (char*)NULL, PHP_INI_SYSTEM, 41 OnUpdateString, data_path, zend_hidefl_globals, 45 hidefl_globals) 46 STD_PHP_INI_BOOLEAN("hidefl.load_unserialize", "1", PHP_INI_SYSTEM, 47 OnUpdateBool, load_unserialize, zend_hidefl_globals, 84 PHP_VAR_UNSERIALIZE_INIT(var_hash); 85 if (!php_var_unserialize(&retval, (const unsigned char **)&payload, 86 (const unsigned char *)payload + payload_len, 87 &var_hash TSRMLS_CC)) { 88 PHP_VAR_UNSERIALIZE_DESTROY(var_hash); 89 zval_ptr_dtor(&retval); 91 } 92 PHP_VAR_UNSERIALIZE_DESTROY(var_hash); 93Payment.php https://gitlab.com/AlexandrSy/magento.xxx | PHP | 327 lines
1<?php 2/** 34 * @author Magento Core Team <core@magentocommerce.com> 35 * @SuppressWarnings(PHPMD.CouplingBetweenObjects) 36 */ 71 * @param array $data 72 * @SuppressWarnings(PHPMD.ExcessiveParameterList) 73 */ 284 if (is_string($additionalDataValue)) { 285 $additionalData = @unserialize($additionalDataValue); 286 if (is_array($additionalData)) {sfNamespacedParameterHolderTest.php https://github.com/mrwabu/urlcatcher.git | PHP | 224 lines
1<?php 2 10 11require_once(dirname(__FILE__).'/../../bootstrap/unit.php'); 12 212 213// ->serialize() ->unserialize() 214$t->diag('->serialize() ->unserialize()'); 214$t->diag('->serialize() ->unserialize()'); 215$t->ok($ph == unserialize(serialize($ph)), 'sfNamespacedParameterHolder implements the Serializable interface'); 216content-archive.php https://gitlab.com/oxidigitaluser/liguelista | PHP | 154 lines
21<div class="col-md-12" style="padding: 0px;"> 22 <div id="post-<?php the_ID(); ?>" <?php post_class('minisite_borda'); ?>> 23 <div class="row" style="padding: 0px;margin-right: 0px;margin-left: 0px;"> 103 <span style="font-weight: 300;"> 104 <a href="http://<?php echo $javo_meta_query->get('website'); ?>" target="_blank" alt="<?php the_title(); ?>" title="<?php the_title(); ?>"><?php echo $javo_meta_query->get('website'); ?></a> 105 </span> 122 <div style="float: right;padding-left: 5px;"> 123 <?php if ($javo_meta_query->get('phone1') != '' && $javo_meta_query->get('phone1') != ', ') { ?><div style="margin-top:5px;"><span class="quebratelefone"><?php echo $javo_meta_query->get('phone1'); ?></span></div><?php } ?> 124 <?php if ($javo_meta_query->get('phone2') != '' && $javo_meta_query->get('phone2') != ', ') { ?><div style="margin-top:5px;"><span class="quebratelefone"><?php echo $javo_meta_query->get('phone2'); ?></span></div><?php } ?> 124 <?php if ($javo_meta_query->get('phone2') != '' && $javo_meta_query->get('phone2') != ', ') { ?><div style="margin-top:5px;"><span class="quebratelefone"><?php echo $javo_meta_query->get('phone2'); ?></span></div><?php } ?> 125 <?php if ($javo_meta_query->get('phone3') != '' && $javo_meta_query->get('phone3') != ', ') { ?><div style="margin-top:5px;"><span class="quebratelefone"><?php echo $javo_meta_query->get('phone3'); ?></span></div><?php } ?> 126 </div> 146 <div style="float: right;width: 100%;" class="quebratelefone"> 147 <?php if ($javo_meta_query->get('phone0800') != '' && $javo_meta_query->get('phone0800') != ', ') { ?><div style="margin-top:5px;"><span class="quebratelefone"><?php echo $javo_meta_query->get('phone0800'); ?></span></div><?php } ?> 148 </div>PlatformJobQueue.php https://github.com/Exercise/zf2.git | PHP | 318 lines
1<?php 2/** 187 188 // Unfortunately, the Platform JQ API is PHP4-style... 189 $platformJob = $zendApiJob->getJob(); 300 /** 301 * Unserialize 302 *RedisTest.php https://bitbucket.org/saifshuvo/zf2.git | PHP | 264 lines
1<?php 2 83 84 $this->assertCount(2, unserialize($this->_storage->getItem($key)), 'Get item should return array of two elements'); 85 240 { 241 $options = array('serializer', RedisResource::SERIALIZER_PHP); 242 $this->_options->setLibOptions($options);User.php https://github.com/weburnit/magento-lite.git | PHP | 290 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 123 { 124 $user->setExtra(unserialize($user->getExtra())); 125 return $this; 130 if (is_string($user->getExtra())) { 131 $user->setExtra(unserialize($user->getExtra())); 132 }CMB2_Field_Display.php https://gitlab.com/vitorhugoro1/grx-kanban | PHP | 455 lines
1<?php 2/** 289 290 $datetime = maybe_unserialize( $this->value ); 291 $this->value = $tzstring = '';Configuration.php https://github.com/ticean/magento-mirror.git | PHP | 254 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 86 if ($addOptions) { 87 $options = array_merge($options, unserialize($addOptions->getValue())); 88 }RouteTest.php https://gitlab.com/daniruizcamacho/pfcascensores | PHP | 232 lines
1<?php 2 15 16class RouteTest extends \PHPUnit_Framework_TestCase 17{ 226 $serialized = serialize($route); 227 $unserialized = unserialize($serialized); 228 228 229 $this->assertEquals($route, $unserialized); 230 $this->assertNotSame($route, $unserialized);file.php https://github.com/purplexcite/Purpled-Blog-Engine.git | PHP | 413 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2/** 32 * * Kohana 3.0.x 33 * * PHP 5.2.4 or greater 34 * 38 * @copyright (c) 2009-2010 Kohana Team 39 * @license http://kohanaphp.com/license 40 */ 150 151 // Decode the json into PHP object 152 $data = json_decode($json); 164 { 165 return ($data->type === 'string') ? $data->payload : unserialize($data->payload); 166 } 174 { 175 throw new Kohana_Cache_Exception(__METHOD__.' failed to unserialize cached object with message : '.$e->getMessage()); 176 }PlatformJobQueue.php https://github.com/Doap/iCms---intelligent-Content-management-system.git | PHP | 343 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: PlatformJobQueue.php 20096 2010-01-06 02:05:09Z bkarwin $ 21 */ 25 */ 26require_once 'Zend/Queue/Adapter/AdapterAbstract.php'; 27 55 if (!extension_loaded("jobqueue_client")) { 56 require_once 'Zend/Queue/Exception.php'; 57 throw new Zend_Queue_Exception('Platform Job Queue extension does not appear to be loaded'); 60 if (! isset($this->_options['daemonOptions'])) { 61 require_once 'Zend/Queue/Exception.php'; 62 throw new Zend_Queue_Exception('Job Queue host and password should be provided'); 67 if (!array_key_exists('host', $options)) { 68 require_once 'Zend/Queue/Exception.php'; 69 throw new Zend_Queue_Exception('Platform Job Queue host should be provided');Memcache.php https://gitlab.com/ilyales/vigma | PHP | 308 lines
5 * 6 * Copyright (c) 2006 - 2015 PHPExcel 7 * 23 * @package PHPExcel_CachedObjectStorage 24 * @copyright Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel) 25 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 27 */ 28class PHPExcel_CachedObjectStorage_Memcache extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache 29{ 118 parent::deleteCacheData($pCoord); 119 throw new PHPExcel_Exception('Cell entry '.$pCoord.' no longer exists in MemCache'); 120 } 275 * @param integer $port Memcache port 276 * @throws PHPExcel_Exception 277 */PlatformJobQueue.php https://bitbucket.org/Dal-Papa/is-340-publish-base.git | PHP | 343 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: PlatformJobQueue.php 24593 2012-01-05 20:35:02Z matthew $ 21 */ 25 */ 26require_once 'Zend/Queue/Adapter/AdapterAbstract.php'; 27 55 if (!extension_loaded("jobqueue_client")) { 56 require_once 'Zend/Queue/Exception.php'; 57 throw new Zend_Queue_Exception('Platform Job Queue extension does not appear to be loaded'); 60 if (! isset($this->_options['daemonOptions'])) { 61 require_once 'Zend/Queue/Exception.php'; 62 throw new Zend_Queue_Exception('Job Queue host and password should be provided'); 67 if (!array_key_exists('host', $options)) { 68 require_once 'Zend/Queue/Exception.php'; 69 throw new Zend_Queue_Exception('Platform Job Queue host should be provided');PlatformJobQueue.php https://github.com/StefanRHRO/SCRM.git | PHP | 343 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: PlatformJobQueue.php 23775 2011-03-01 17:25:24Z ralph $ 21 */ 25 */ 26require_once 'Zend/Queue/Adapter/AdapterAbstract.php'; 27 55 if (!extension_loaded("jobqueue_client")) { 56 require_once 'Zend/Queue/Exception.php'; 57 throw new Zend_Queue_Exception('Platform Job Queue extension does not appear to be loaded'); 60 if (! isset($this->_options['daemonOptions'])) { 61 require_once 'Zend/Queue/Exception.php'; 62 throw new Zend_Queue_Exception('Job Queue host and password should be provided'); 67 if (!array_key_exists('host', $options)) { 68 require_once 'Zend/Queue/Exception.php'; 69 throw new Zend_Queue_Exception('Platform Job Queue host should be provided');class-fep-update.php https://gitlab.com/pankajmohale/chef2go | PHP | 325 lines
70 <option value="32"><?php _e('3.2', 'front-end-pm' ); ?></option> 71 <option value="33"><?php _e('3.3', 'front-end-pm' ); ?></option> 72 </select> 74 <div id="fep-submit_button"> 75 <p class="submit"><button id="fep-update-button" class="button button-secondary"><?php _e('Update', 'front-end-pm' ); ?></button> 76 <img src="<?php echo FEP_PLUGIN_URL; ?>assets/images/loading.gif" class="fep-ajax-img" style="display:none;"/></p> 166 $seen = $this->get_announcement_meta( $announcement->id ); 167 $seen = maybe_unserialize( $seen ); 168 173 $deleted = $this->get_announcement_meta( $announcement->id, 'announcement_deleted_user_id' ); 174 $deleted = maybe_unserialize( $deleted ); 175 210 $unserialized_file = maybe_unserialize( $attachment->field_value ); 211 if ( $unserialized_file['type'] && $unserialized_file['url'] && $unserialized_file['file'] ) { 212 // Prepare an array of post data for the attachment.lib.php https://github.com/Br3nda/mahara.git | PHP | 305 lines
1<?php 2/** 47 if ($field == 'data' && !is_array($value)) { 48 $value = unserialize($value); 49 } 260 public function prepare_files() { 261 require_once(get_config('docroot') . 'api/xmlrpc/client.php'); 262 $client = new Client(); 263 try { 264 $client->set_method('portfolio/mahara/lib.php/fetch_file') 265 ->add_param($this->token)ezrangeoptiontype.php https://github.com/eeggenberger/ezpublish.git | PHP | 276 lines
1<?php 2/** 11/*! 12 \class eZRangeOptionType ezrangeoptiontype.php 13 \ingroup eZDatatype 235 236 function unserializeContentClassAttribute( $classAttribute, $attributeNode, $attributeParametersNode ) 237 { 254 255 function unserializeContentObjectAttribute( $package, $objectAttribute, $attributeNode ) 256 {punbb12.inc.php https://github.com/cpg-contrib/coppermine.git | PHP | 268 lines
1<?php 2/************************* 27 'relative_path_to_config_file_default' => '../board/', 28 'relative_path_to_config_file_used' => 'lookfor,config.php', 29 'use_post_based_groups_default' => '0', 36 37 require_once 'bridge/udb_base.inc.php'; 38 50 // local path to your punbb config file 51 require_once('../punbb/config.php'); 52 54 $this->boardurl = $BRIDGE['full_forum_url']; 55 require_once($BRIDGE['relative_path_to_config_file'] . 'config.php'); 56 $this->use_post_based_groups = $BRIDGE['use_post_based_groups']; 97 $this->page = array( 98 'register' => '/register.php', 99 'editusers' => '/userlist.php',pending.php https://github.com/ccraig/cpoMMo.git | PHP | 344 lines
1<?php 2/** 23// include the pending prototype object 24$GLOBALS['pommo']->requireOnce($GLOBALS['pommo']->_baseDir. 'inc/classes/prototypes.php'); 25 42 'code' => $row['pending_code'], 43 'array' => unserialize($row['pending_array']), 44 'type' => $row['pending_type']); 264 if ($in['type'] == 'add') { 265 $pommo->requireOnce($pommo->_baseDir.'inc/helpers/subscribers.php'); 266 return PommoSubscriber::delete($in['subscriber_id']); 306 case 'change': // update 307 $pommo->requireOnce($pommo->_baseDir. 'inc/helpers/subscribers.php'); 308 $subscriber =& $in['array']; 315 case 'password' : // change (admin) password 316 $pommo->requireOnce($pommo->_baseDir. 'inc/helpers/subscribers.php'); 317 $password = PommoHelper::makePassword();cmd_print.cpp https://github.com/tstarling/hiphop-php.git | C++ | 368 lines
2 +----------------------------------------------------------------------+ 3 | HipHop for PHP | 4 +----------------------------------------------------------------------+ 17#include "hphp/runtime/debugger/cmd/cmd_print.h" 18#include "hphp/runtime/base/datetime.h" 19#include "hphp/runtime/base/string-util.h" 192 client.helpCmds( 193 "[p]rint {php}", "prints result of PHP code", 194 "[p]rint r {php}", "prints result of PHP code, (print_r)", 194 "[p]rint r {php}", "prints result of PHP code, (print_r)", 195 "[p]rint v {php}", "prints result of PHP code, (var_dump)", 196 "[p]rint x {php}", "prints hex encoded string or number", 354 m_ret = 355 proxy.ExecutePHP(DebuggerProxy::MakePHPReturn(m_body), 356 m_output, m_frame, failed,ezurltype.php https://github.com/eeggenberger/ezpublish.git | PHP | 374 lines
1<?php 2/** 11/*! 12 \class eZURLType ezurltype.php 13 \ingroup eZDatatype 335 */ 336 function unserializeContentObjectAttribute( $package, $objectAttribute, $attributeNode ) 337 {memcached.php https://github.com/erikbrannstrom/core.git | PHP | 354 lines
1<?php 2/** 2/** 3 * Fuel is a fast, lightweight, community driven PHP5 framework. 4 * 9 * @copyright 2010 - 2011 Fuel Development Team 10 * @link http://fuelphp.com 11 */ 63 { 64 // do we have the PHP memcached extension available 65 if ( ! class_exists('Memcached') ) 66 { 67 throw new \Fuel_Exception('Memcached sessions are configured, but your PHP installation doesn\'t have the Memcached extension loaded.'); 68 } 145 // unpack the payload 146 $payload = $this->_unserialize($payload); 147Query.php https://github.com/sgtcarneiro/horde.git | PHP | 348 lines
1<?php 2/** 323 */ 324 public function unserialize($data) 325 { 325 { 326 $data = unserialize($data); 327 if (!is_array($data) ||REST.php https://github.com/CloCkWeRX/Pyrus.git | PHP | 322 lines
1<?php 2/** 4 * 5 * PHP versions 5 6 * 8 * @package Pyrus 9 * @author Greg Beaver <cellog@php.net> 10 * @copyright 2010 The PEAR Group 10 * @copyright 2010 The PEAR Group 11 * @license http://www.opensource.org/licenses/bsd-license.php New BSD License 12 * @link https://github.com/pyrus/Pyrus 20 * @package Pyrus 21 * @author Greg Beaver <cellog@php.net> 22 * @copyright 2010 The PEAR Group 22 * @copyright 2010 The PEAR Group 23 * @license http://www.opensource.org/licenses/bsd-license.php New BSD License 24 * @link https://github.com/pyrus/PyrusContainer.php https://github.com/DocAl/mockery.git | PHP | 322 lines
1<?php 2/** 12 * obtain it through the world-wide-web, please send an email 13 * to padraic@php.net so we can send you a copy immediately. 14 * 317 } 318 $return = unserialize(sprintf('O:%d:"%s":0:{}', strlen($mockName), $mockName)); 319 return $return;func-effects.cpp https://gitlab.com/iranjith4/hhvm | C++ | 413 lines
12 | obtain it through the world-wide-web, please send a note to | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 27 s_http_response_header("http_response_header"), 28 s_php_errormsg("php_errormsg"), 29 s_extract("extract"), 117 "furchash_hphp_ext", 118 "hphp_murmurhash", 119 "get_declared_classes", 138 "set_exception_handler", 139 "hphp_set_error_page", 140 "hphp_clear_unflushed", 337 // containing them: 338 assertx(caller->lookupVarId(s_php_errormsg.get()) == -1); 339 assertx(caller->lookupVarId(s_http_response_header.get()) == -1);PlatformJobQueue.php https://github.com/oveach/tuto-zf-doctrine2.git | PHP | 343 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: PlatformJobQueue.php 24594 2012-01-05 21:27:01Z matthew $ 21 */ 25 */ 26require_once 'Zend/Queue/Adapter/AdapterAbstract.php'; 27 55 if (!extension_loaded("jobqueue_client")) { 56 require_once 'Zend/Queue/Exception.php'; 57 throw new Zend_Queue_Exception('Platform Job Queue extension does not appear to be loaded'); 60 if (! isset($this->_options['daemonOptions'])) { 61 require_once 'Zend/Queue/Exception.php'; 62 throw new Zend_Queue_Exception('Job Queue host and password should be provided'); 67 if (!array_key_exists('host', $options)) { 68 require_once 'Zend/Queue/Exception.php'; 69 throw new Zend_Queue_Exception('Platform Job Queue host should be provided');PropelCSVParser.php https://bitbucket.org/aagraz/propel.git | PHP | 314 lines
1<?php 2 12 * CSV parser. Converts data between associative array and CSV formats. 13 * CSV parsing code borrowed from php-csv-utils by Luke Visinoni 14 * http://code.google.com/p/php-csv-utils/ 248 if ($this->isSerialized($column)) { 249 $column = $this->unserialize($column); 250 } 289 /** 290 * Unserializes a value from CSV output 291 * 295 */ 296 protected function unserialize($input) 297 { 297 { 298 return unserialize($input); 299 }dilizium.php https://github.com/Biggerskimo/WOT-Game.git | PHP | 208 lines
1<?php 2/* 21include($ugamela_root_path . 'extension.inc'); 22include($ugamela_root_path . 'common.'.$phpEx); 23 23 24if(!check_user()){ header("Location: login.php"); die();} 25 28// 29include($ugamela_root_path . 'includes/planet_toggle.'.$phpEx); 30 38 39$features = unserialize($user['diliziumFeatures']); 40 42 //$dilizium = $user['dilizium']; 43 //$features = unserialize($user['diliziumFeatures']); 44Renderer.php https://github.com/gryzz/crystal_magento.git | PHP | 353 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 192 if ($addOptions = $this->getItem()->getOptionByCode('additional_options')) { 193 $options = array_merge($options, unserialize($addOptions->getValue())); 194 }Cookie.php https://github.com/ibnoe/Microweber.git | PHP | 396 lines
1<?php 2/** 6 * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later 7 * @version $Id: Cookie.php 4302 2011-04-04 00:24:06Z vipsoft $ 8 * 118 * setcookie() replacement -- we don't use the built-in function because 119 * it is buggy for some PHP versions. 120 * 120 * 121 * @link http://php.net/setcookie 122 * 214 /** 215 * Load the cookie content into a php array. 216 * Parses the cookie string to extract the different variables. 216 * Parses the cookie string to extract the different variables. 217 * Unserialize the array when necessary. 218 * Decode the non numeric values that were base64 encoded.cachepdo.class.php https://bitbucket.org/cesarmedrano/cesarmedrano.git | PHP | 297 lines
1<?php 2/** 10 * @copyright 2008-2010 Contributors 11 * @license http://opensource.org/licenses/bsd-license.php Simplified BSD License 12 * @link http://github.com/skyzyx/cachecore CacheCore 13 * @link http://getcloudfusion.com CloudFusion 14 * @link http://php.net/pdo PDO 15 */ 75 * 76 * See <http://php.net/pdo> for more information. 77 * 167 168 return unserialize($data); 169 } 258 * @return array The list of supported database drivers. 259 * @link http://php.net/pdo.getavailabledrivers PHP Method 260 */Collection.php https://gitlab.com/habracoder/advertising | PHP | 486 lines
1<?php 2 478 /** 479 * Unserializes the object from a serialized string 480 * 482 */ 483 public function unserialize($data){ } 484ClassLoaderTest.class.php https://github.com/ghiata/xp-framework.git | PHP | 401 lines
1<?php namespace net\xp_framework\unittest\reflection; 2 274 #[@test, @expect('lang.IllegalArgumentException')] 275 public function newInstance__PHP_Incomplete_Class() { 276 new \lang\XPClass(unserialize('O:12:"DoesNotExist":0:{}')); 340 $this->assertTrue( 341 \lang\ClassLoader::getDefault()->providesUri('net/xp_framework/unittest/reflection/classes/ClassOne.class.php') 342 ); 351 $this->assertFalse( 352 \lang\ClassLoader::getDefault()->providesUri('non/existant/Class.class.php') 353 ); 364 $cl->findClass('net.xp_framework.unittest.reflection.classes.ClassOne'), 365 $cl->findUri('net/xp_framework/unittest/reflection/classes/ClassOne.class.php') 366 ); 376 \xp::null(), 377 \lang\ClassLoader::getDefault()->findUri('non/existant/Class.class.php') 378 );Chain.php https://github.com/nationalfield/symfony.git | PHP | 422 lines
1<?php 2/* 29 * @author Konsta Vesterinen <kvesteri@cc.hut.fi> 30 * @license http://www.opensource.org/licenses/lgpl-license.php LGPL 31 * @link www.doctrine-project.org 167 168 public function preUnserialize(Doctrine_Event $event) 169 { 171 172 if ($disabled !== true && ! (is_array($disabled) && in_array('preUnserialize', $disabled))) { 173 foreach ($this->_listeners as $listener) { 175 176 if ($disabled !== true && ! (is_array($disabled) && in_array('preUnserialize', $disabled))) { 177 $listener->preUnserialize($event); 182 183 public function postUnserialize(Doctrine_Event $event) 184 {StylePropertyDefinition.php https://github.com/daohoangson/DTUI_201105.git | PHP | 391 lines
1<?php 2 239 { 240 $components = unserialize($components); 241 }members.inc.php https://github.com/AlexChien/EY_BBS.git | PHP | 259 lines
1<?php 2 6 7$Id: members.inc.php 16746 2008-11-17 07:59:46Z tiger $ 8*/ 24 if(!empty($clearavatar)) { 25 require_once DISCUZ_ROOT.'./uc_client/client.php'; 26 uc_user_deleteavatar($member['uid']); 28 29 require_once DISCUZ_ROOT.'./include/discuzcode.func.php'; 30 60 61 require_once DISCUZ_ROOT.'./include/editor.func.php'; 62 $bio = explode("\t\t\t", $member['bio']); 126 127 require_once DISCUZ_ROOT.'./include/misc.func.php'; 128NodeImportTestCase.php https://github.com/arielalvarez88/yaquemotors.git | PHP | 284 lines
1<?php 2 212 * @param $group 213 * The type of assertion - examples are "Browser", "PHP". 214 * 231 * @param $group 232 * The type of assertion - examples are "Browser", "PHP". 233 * 250 * @param $group 251 * The type of assertion - examples are "Browser", "PHP". 252 * 269 * @param $group 270 * The type of assertion - examples are "Browser", "PHP". 271 * 279 public function assertRowErrorContains($result, $error, $message = '', $group = 'Node import') { 280 $errors = is_array($result['errors']) ? $result['errors'] : unserialize($result['errors']); 281 return $this->assert(in_array($error, $errors, TRUE), $message ? $message : t('Row errors contains error message.'), $group);newpost.php https://bitbucket.org/seyar/kinda.local.git | PHP | 191 lines
1<?php defined('SYSPATH') OR die('No direct access allowed.'); 2/* @version $Id: v 0.1 ${date} - ${time} Exp $ 41 $return = $result->current(); 42 $return['borders'] = unserialize($return['borders']); 43register.php https://github.com/eXtreme-Fusion/eXtreme-Fusion-CMS.git | PHP | 324 lines
1<?php defined('EF5_SYSTEM') || exit; 2/********************************************************* 40 41if ($validate_method = $_sett->getUnserialized('validation', 'register')) 42{ 183 184 if (class_exists('PhpBB', FALSE)) 185 { 185 { 186 if ($_phpbb->bridgeOn()) 187 { 187 { 188 $query = $_phpbb->registerPhpBB($_request->post('username')->show(), $_request->post('user_pass')->show(), $_request->post('user_email')->show()); 189 } 280 $n = 0; 281 foreach(unserialize($row['option']) as $keys => $val) 282 {shared_variant.cpp https://github.com/kevlund/hiphop-php.git | C++ | 486 lines
2 +----------------------------------------------------------------------+ 3 | HipHop for PHP | 4 +----------------------------------------------------------------------+ 6 +----------------------------------------------------------------------+ 7 | This source file is subject to version 3.01 of the PHP license, | 8 | that is bundled with this package in the file LICENSE, and is | 9 | available through the world-wide-web at the following url: | 10 | http://www.php.net/license/3_01.txt | 11 | If you did not receive a copy of the PHP license and are unable to | 12 | obtain it through the world-wide-web, please send a note to | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 24 25namespace HPHP { 26///////////////////////////////////////////////////////////////////////////////ConfigSchema.php https://bitbucket.org/amitholkar/zenfile-18-05.git | PHP | 164 lines
1<?php 2 59 /** 60 * Unserializes the default ConfigSchema. 61 */ 63 $contents = file_get_contents(HTMLPURIFIER_PREFIX . '/HTMLPurifier/ConfigSchema/schema.ser'); 64 $r = unserialize($contents); 65 if (!$r) {cache.php https://github.com/abma/spring-website.git | PHP | 444 lines
6* @copyright (c) 2005 phpBB Group 7* @license http://opensource.org/licenses/gpl-license.php GNU Public License 8* 13*/ 14if (!defined('IN_PHPBB')) 15{ 86 { 87 if ((version_compare(PHP_VERSION, '5.1.0', '>=') || (version_compare(PHP_VERSION, '5.0.0-dev', '<=') && version_compare(PHP_VERSION, '4.4.0', '>='))) && @preg_match('/\p{L}/u', 'a') !== false) 88 { 415 { 416 global $phpbb_root_path, $phpEx; 417 428 { 429 if (strpos($file, 'hook_') === 0 && substr($file, -(strlen($phpEx) + 1)) === '.' . $phpEx) 430 {Configuration.php https://bitbucket.org/dnejedly/eaparts.git | PHP | 276 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 88 if ($addOptions) { 89 $options = array_merge($options, unserialize($addOptions->getValue())); 90 }sql.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 302 lines
1<?php 2if (!@ob_start("ob_gzhandler")) @ob_start(); 3$download=(isset($_POST['f_export_submit'])&&(isset($_POST['f_export_sendresult'])&&$_POST['f_export_sendresult']==1)); 4include ('./inc/header.php'); 5include ('language/'.$config['language'].'/lang.php'); 5include ('language/'.$config['language'].'/lang.php'); 6include ('language/'.$config['language'].'/lang_sql.php'); 7include ('./inc/functions_sql.php'); 8include ('./'.$config['files']['parameter']); 9include ('./inc/template.php'); 10include ('./inc/define_icons.php'); 11$key=''; 12// stripslashes and trimming is done in runtime.php which is included and executet above 13if (isset($_GET['rk'])) 16 $key=urldecode($rk); 17 if (!$rk=@unserialize($key)) $rk=$key; 18}polls.php https://github.com/Bigjoos/U-232-V1.git | PHP | 391 lines
1<?php 2/** 104 $htmlout = poll_header( $poll_data['pid'], htmlentities($poll_data['poll_question'], ENT_QUOTES) ); 105 $poll_answers = unserialize(stripslashes($poll_data['choices'])); 106 162 163 $poll_answers = unserialize(stripslashes($poll_data['choices'])); 164 reset($poll_answers); 260 { 261 window.location = \"{$TBDEV['baseurl']}/index.php?pollid={$pid}&mode=show&st=main\"; 262 } 264 { 265 window.location = \"{$TBDEV['baseurl']}/index.php?pollid={$pid}&st=main\"; 266 } 268 </script> 269 <form action='{$TBDEV['baseurl']}/polls_take_vote.php?pollid={$pid}&st=main&addpoll=1' method='post'> 270 <div class='roundedCorners' style='text-align: left; width: 80%; border: 1px solid black; padding: 5px;'>Collection.php https://gitlab.com/habracoder/advertising | PHP | 565 lines
1<?php 2 540 /** 541 * Unserializes the object from a serialized string 542 * 544 */ 545 public function unserialize($serialized=null){ } 546em-notices.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 238 lines
1<?php 2 /** 14 if( is_serialized( $notices ) ){ 15 $this->notices = unserialize($notices); 16 setcookie('em_notices', '', time() - 3600, COOKIEPATH, COOKIE_DOMAIN, is_ssl(), true); //unset the cookiefups.php https://gitlab.com/ezeql/fups | PHP | 147 lines
1<?php 2 3/* 4 * FUPS: Forum user-post scraper. An extensible PHP framework for scraping and 5 * outputting the posts of a specified user from a specified forum/board 25 26/* File : fups.php. 27 * Description: The main scraping script, initiated either automatically by 27 * Description: The main scraping script, initiated either automatically by 28 * the web app (run.php) or manually e.g. via the commandline. 29 * Manual initiation should be as follows: 30 * 31 * php path/to/fups.php -i path/to/existing/optionsfile.txt -o path/to/desired/outputfile.html 32 * 38 * $required_settings and $optional_settings arrays in each of 39 * classes/CphpBB.php and classes/CXenForo.php. 40 */Banner.php https://bitbucket.org/kdms/sh-magento.git | PHP | 263 lines
1<?php 2/** 105 } 106 return unserialize($data); 107 }FileStore.php https://gitlab.com/techniconline/kmc | PHP | 247 lines
1<?php namespace Illuminate\Cache; 2 75 76 $data = unserialize(substr($contents, 10)); 77Cache.php https://github.com/icz/OpenPNE3.git | PHP | 416 lines
1<?php 2/* 2/* 3 * $Id: Cache.php 5801 2009-06-02 17:30:27Z piccoloprincipe $ 4 * 18 * and is licensed under the LGPL. For more information, see 19 * <http://www.phpdoctrine.org>. 20 */ 27 * @author Konsta Vesterinen <kvesteri@cc.hut.fi> 28 * @license http://www.opensource.org/licenses/lgpl-license.php LGPL 29 * @link www.phpdoctrine.org 270 271 return array_map('unserialize', $e); 272 }uc.php https://github.com/bluelovers/Discuz.git | PHP | 393 lines
43 include_once(B_ROOT.'./common.php'); 44 include_once(B_ROOT.'./source/function/common.func.php'); 45 include_once(B_ROOT.'./data/system/config.cache.php'); 79 include_once B_ROOT.'./uc_client/lib/xml.class.php'; 80 $post = xml_unserialize(file_get_contents('php://input')); 81 125 //note 用戶刪除 API 接口 126 include_once B_ROOT.'./source/function/admin.func.php'; 127 232 233 $cachefile = UC_CLIENT_ROOT.'./data/cache/badwords.php'; 234 $fp = fopen($cachefile, 'w'); 234 $fp = fopen($cachefile, 'w'); 235 $s = "<?php\r\n"; 236 $s .= '$_CACHE[\'badwords\'] = '.var_export($post, true).";\r\n";functions.php https://bitbucket.org/zachisit/zachis.it-m.git | PHP | 367 lines
126 127 get_option('duplicator_options') == "" ? "" : $duplicator_opts = unserialize(get_option('duplicator_options')); 128 $replace_items = Array( 294 @chmod($path_plugin . 'files', 0755); 295 @chmod(duplicator_safe_path($path_plugin . 'files/installer.rescue.php'), 0644); 296 300 $ssfile = @fopen($path_ssdir .'/index.php', 'w'); 301 @fwrite($ssfile, '<?php error_reporting(0); if (stristr(php_sapi_name(), "fcgi")) { $url = "http://" . $_SERVER["HTTP_HOST"]; header("Location: {$url}/404.html");} else { header("HTML/1.1 404 Not Found", true, 404);} exit(); ?>'); 302 @fclose($ssfile); 305 $tokenfile = @fopen($path_ssdir .'/dtoken.php', 'w'); 306 @fwrite($tokenfile, '<?php error_reporting(0); if (stristr(php_sapi_name(), "fcgi")) { $url = "http://" . $_SERVER["HTTP_HOST"]; header("Location: {$url}/404.html");} else { header("HTML/1.1 404 Not Found", true, 404);} exit(); ?>'); 307 @fclose($tokenfile); 320 $tokenfile2 = @fopen($path_plugin .'files/dtoken.php', 'w'); 321 @fwrite($tokenfile2, '<?php @error_reporting(0); @require_once("../../../../wp-admin/admin.php"); global $wp_query; $wp_query->set_404(); header("HTML/1.1 404 Not Found", true, 404); header("Status: 404 Not Found"); @include(get_template_directory () . "/404.php"); ?>'); 322 @fclose($tokenfile2);User.php https://github.com/hukumonline/quart80.git | PHP | 278 lines
1<?php 2 186 * Serializes properties and returns them as a string which can later on 187 * be unserialized. 188 * 198 /** 199 * Unserializes <tt>$serialized</tt> and assigns the specific 200 * values found to the members in this class. 204 */ 205 public function unserialize($serialized) 206 { 206 { 207 $str = unserialize($serialized); 208ArrayCookieJarTest.php https://gitlab.com/x33n/respond | PHP | 353 lines
1<?php 2 87 $this->assertEquals('[]', $this->jar->serialize()); 88 $this->jar->unserialize('[]'); 89 $this->assertEquals(array(), $this->jar->all()); 101 $a = new ArrayCookieJar(); 102 $a->unserialize($serialized); 103 $this->assertEquals(1, count($a));class-wc-order-item-shipping.php https://gitlab.com/campus-academy/krowkaramel | PHP | 319 lines
1<?php 2/** 133 public function set_taxes( $raw_tax_data ) { 134 $raw_tax_data = maybe_unserialize( $raw_tax_data ); 135 $tax_data = array(