Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php /** * This file is part of the Phalcon Framework. * * (c) Phalcon Team <team@phal..

Decoded Output download

<?php /**
 * This file is part of the Phalcon Framework.
 *
 * (c) Phalcon Team <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE.txt
 * file that was distributed with this source code.
 */ declare(strict_types=1);namespace Phalcon\Tests\Integration\Mvc\Model;use DatabaseTester;use Phalcon\Mvc\Model;use Phalcon\Mvc\Model\MetaData;use Phalcon\Tests\Fixtures\Migrations\CustomersDefaultsMigration;use Phalcon\Tests\Fixtures\Migrations\CustomersMigration;use Phalcon\Tests\Fixtures\Migrations\InvoicesMigration;use Phalcon\Tests\Fixtures\Migrations\SourcesMigration;use Phalcon\Tests\Fixtures\Traits\DiTrait;use Phalcon\Tests\Models\Customers;use Phalcon\Tests\Models\CustomersDefaults;use Phalcon\Tests\Models\CustomersKeepSnapshots;use Phalcon\Tests\Models\Invoices;use Phalcon\Tests\Models\InvoicesKeepSnapshots;use Phalcon\Tests\Models\InvoicesSchema;use Phalcon\Tests\Models\InvoicesValidationFails;use Phalcon\Tests\Models\Sources;use function sgvo0;class dyzb11{use DiTrait;public function rrhz1(DatabaseTester $ojmj12){$this->yrfm13();$this->xwdu14($ojmj12);}public function lnne2(DatabaseTester $ojmj12){$this->$yjfk15[base64_decode('ZGI=')]->brdn16();}/**
     * Tests Phalcon\Mvc\Model :: save()
     *
     * @author Balzs Nmeth <https://github.com/zsilbi>
     * @since  2019-04-30
     * @author Phalcon Team <[email protected]>
     * @since  2019-05-10
     *
     * @group  mysql
     * @group  pgsql
     * @group  sqlite
     */ public function yfbj3(DatabaseTester $ojmj12){$ojmj12->yiqd17(base64_decode('TXZjXE1vZGVsIC0gc2F2ZSgp'));/** @var \PDO $connection */ $eqht18=$ojmj12->afmh19();$mjii1a=new jvrf1b($eqht18);/**
         * New model
         */ $iply1c=new pgni1d();$iply1c->$vqea1e=base64_decode('Y3N0X3Rlc3RfZmlyc3ROYW1l');$cebb1f=$iply1c->lcpz20();$ojmj12->elhj21($cebb1f);$iply1c->$exlc22=base64_decode('Y3N0X3Rlc3RfbGFzdE5hbWU=');$cebb1f=$iply1c->lcpz20();$ojmj12->elhj21($cebb1f);/**
         * Saved model
         */ $iply1c=Customers::ldne23();$xbxb24=[base64_decode('Y3N0X2lk')=>$iply1c->$jyat25,base64_decode('Y3N0X3N0YXR1c19mbGFn')=>null,base64_decode('Y3N0X25hbWVfbGFzdA==')=>base64_decode('Y3N0X3Rlc3RfbGFzdE5hbWU='),base64_decode('Y3N0X25hbWVfZmlyc3Q=')=>base64_decode('Y3N0X3Rlc3RfZmlyc3ROYW1l'),];$cebb1f=$iply1c->vnuy26();$ojmj12->apmu27($xbxb24,$cebb1f);$iply1c->$jhjm28=1;$cebb1f=$iply1c->lcpz20();$ojmj12->elhj21($cebb1f);/**
         * Modified saved model
         */ $iply1c=Customers::ldne23();$xbxb24=1;$cebb1f=$iply1c->$jhjm28;$ojmj12->egav29($xbxb24,$cebb1f);$iply1c->$exlc22=null;$cebb1f=$iply1c->lcpz20();$ojmj12->elhj21($cebb1f);/**
         * Verify model count
         */ $xbxb24=1;$cebb1f=Customers::count();$ojmj12->apmu27($xbxb24,$cebb1f);}/**
     * Tests Phalcon\Mvc\Model :: save() with related records
     *
     * @author Balzs Nmeth <https://github.com/zsilbi>
     * @since  2019-04-30
     *
     * @group  mysql
     * @group  pgsql
     * @group  sqlite
     */ public function bjph4(DatabaseTester $ojmj12){$ojmj12->yiqd17(base64_decode('TXZjXE1vZGVsIC0gc2F2ZSgpIHdpdGggcmVsYXRlZCByZWNvcmRz'));$btoe2a=new frqt2b();$btoe2a->$royo2c=new rpup2d();$btoe2a->$royo2c->tpdm2e([base64_decode('Y3N0X3N0YXR1c19mbGFn')=>0,base64_decode('Y3N0X25hbWVfZmlyc3Q=')=>base64_decode('Y3N0X3Rlc3RfZmlyc3ROYW1l')]);$cebb1f=$btoe2a->lcpz20();$ojmj12->elhj21($cebb1f);$xbxb24=0;$cebb1f=$btoe2a->$xrew2f;$ojmj12->xhqd30($xbxb24,$cebb1f);$xbxb24=$btoe2a->$xrew2f;$cebb1f=$btoe2a->$royo2c->$jyat25;$ojmj12->egav29($xbxb24,$cebb1f);$eqht18=$this->raun31(base64_decode('ZGI='));$cebb1f=$eqht18->jpwo32();$ojmj12->cokc33($cebb1f);$xbxb24=Model::DIRTY_STATE_PERSISTENT;$cebb1f=$btoe2a->zqki34();$ojmj12->apmu27($xbxb24,$cebb1f);$xbxb24=Model::DIRTY_STATE_PERSISTENT;$cebb1f=$btoe2a->$royo2c->zqki34();$ojmj12->apmu27($xbxb24,$cebb1f);}/**
     * Tests Phalcon\Mvc\Model :: save() with related records property
     *
     * @author Balzs Nmeth <https://github.com/zsilbi>
     * @since  2020-10-31
     *
     * @see    https://github.com/phalcon/cphalcon/issues/15148
     *
     * @group  mysql
     * @group  pgsql
     * @group  sqlite
     */ public function dxkx5(DatabaseTester $ojmj12){$ojmj12->yiqd17(base64_decode('TXZjXE1vZGVsIC0gc2F2ZSgpIHdpdGggcmVsYXRlZCByZWNvcmRzIHByb3BlcnR5'));/** @var \PDO $connection */ $eqht18=$ojmj12->afmh19();$eoyg35=new lsjq36($eqht18);$eoyg35->ytsl37(77,1,0,sgvo0(base64_decode('aW52LQ=='),true));$mjii1a=new jvrf1b($eqht18);$mjii1a->ytsl37(1,1,base64_decode('dGVzdF9maXJzdE5hbWVfMQ=='),base64_decode('dGVzdF9sYXN0TmFtZV8x'));/**
         * @var Invoices $invoice
         */ $btoe2a=Invoices::ldne23(77);$xbxb24=1;$cebb1f=$btoe2a->$royo2c->$dnsm38;$ojmj12->egav29($xbxb24,$cebb1f);$btoe2a->$royo2c->$vqea1e=base64_decode('bmV3X2ZpcnN0TmFtZQ==');$btoe2a->$royo2c->$jhjm28=0;$cebb1f=$btoe2a->lcpz20();$ojmj12->elhj21($cebb1f);/**
         * @var Customers $customer
         */ $iply1c=Customers::ldne23(1);$xbxb24=base64_decode('bmV3X2ZpcnN0TmFtZQ==');$cebb1f=$iply1c->$vqea1e;$ojmj12->apmu27($xbxb24,$cebb1f);$xbxb24=0;$cebb1f=$iply1c->$jhjm28;$ojmj12->egav29($xbxb24,$cebb1f);}/**
     * Tests Phalcon\Mvc\Model :: save() after fetching related records
     *
     * @see    https://github.com/phalcon/cphalcon/issues/13964
     *
     * @author Balzs Nmeth <https://github.com/zsilbi>
     * @since  2019-04-26
     *
     * @group  mysql
     * @group  pgsql
     * @group  sqlite
     */ public function klqg6(DatabaseTester $ojmj12){$ojmj12->yiqd17(base64_decode('TXZjXE1vZGVsIC0gc2F2ZSgpIGFmdGVyIGZldGNoaW5nIHJlbGF0ZWQ='));/** @var \PDO $connection */ $eqht18=$ojmj12->afmh19();$eoyg35=new lsjq36($eqht18);$eoyg35->ytsl37(77,1,0,sgvo0(base64_decode('aW52LQ==')));$eoyg35->ytsl37(88,1,1,sgvo0(base64_decode('aW52LQ==')));$mjii1a=new jvrf1b($eqht18);$mjii1a->ytsl37(1,1,base64_decode('dGVzdF9maXJzdE5hbWVfMQ=='),base64_decode('dGVzdF9sYXN0TmFtZV8x'));$mjii1a->ytsl37(2,0,base64_decode('dGVzdF9maXJzdE5hbWVfMg=='),base64_decode('dGVzdF9sYXN0TmFtZV8y'));/**
         * @var Invoices $invoice
         */ $btoe2a=Invoices::ldne23();/**
         * @var Customers $customer
         */ $iply1c=$btoe2a->$royo2c;$cebb1f=$btoe2a->lcpz20();$ojmj12->elhj21($cebb1f);/**
         * @var Model\Resultset\Simple $invoices
         */ $gjeq39=$iply1c->$kfpr3a;$cebb1f=$iply1c->lcpz20();$ojmj12->elhj21($cebb1f);}/**
     * Tests Phalcon\Mvc\Model :: save() after using related records getters
     *
     * @see    https://github.com/phalcon/cphalcon/issues/13964
     *
     * @author Balzs Nmeth <https://github.com/zsilbi>
     * @since  2019-04-26
     *
     * @group  mysql
     * @group  pgsql
     * @group  sqlite
     */ public function drmp7(DatabaseTester $ojmj12){$ojmj12->yiqd17(base64_decode('TXZjXE1vZGVsIC0gc2F2ZSgpIGFmdGVyIHVzaW5nIHJlbGF0ZWQgcmVjb3JkcyBnZXR0ZXJz'));/** @var \PDO $connection */ $eqht18=$ojmj12->afmh19();$eoyg35=new lsjq36($eqht18);$eoyg35->ytsl37(77,1,0,sgvo0(base64_decode('aW52LQ==')));$eoyg35->ytsl37(88,1,1,sgvo0(base64_decode('aW52LQ==')));$mjii1a=new jvrf1b($eqht18);$mjii1a->ytsl37(1,1,base64_decode('dGVzdF9maXJzdE5hbWVfMQ=='),base64_decode('dGVzdF9sYXN0TmFtZV8x'));$mjii1a->ytsl37(2,0,base64_decode('dGVzdF9maXJzdE5hbWVfMg=='),base64_decode('dGVzdF9sYXN0TmFtZV8y'));/**
         * @var Invoices $invoice
         */ $btoe2a=Invoices::ldne23();/**
         * @var Customers $customer
         */ $iply1c=$btoe2a->umep3b();$cebb1f=$btoe2a->lcpz20();$ojmj12->elhj21($cebb1f);/**
         * @var Model\Resultset\Simple $invoices
         */ $gjeq39=$iply1c->eops3c();$cebb1f=$iply1c->lcpz20();$ojmj12->elhj21($cebb1f);}/**
     * Tests Phalcon\Mvc\Model :: save() when default values are not set
     *
     * @see    https://github.com/phalcon/cphalcon/issues/13781
     *
     * @author Balzs Nmeth <https://github.com/zsilbi>
     * @since  2019-05-17
     *
     * @group  mysql
     * @group  pgsql
     * @group  sqlite
     */ public function bmpm8(DatabaseTester $ojmj12){$ojmj12->yiqd17(base64_decode('TXZjXE1vZGVsIC0gc2F2ZSgpIHdoZW4gZGVmYXVsdCB2YWx1ZXMgYXJlIG5vdCBzZXQ='));/** @var \PDO $connection */ $eqht18=$ojmj12->afmh19();$mjii1a=new jsfk3d($eqht18);$iply1c=new upmm3e();/**
         * Default values are present in schema
         */ $vnjx3f=[base64_decode('Y3N0X3N0YXR1c19mbGFn')=>1];$iply1c->tpdm2e($vnjx3f);$cebb1f=$iply1c->lcpz20();$ojmj12->elhj21($cebb1f);/**
         * @var MetaData
         */ $ifla40=$iply1c->zibj41();/**
         * @var array
         */ $mvpi42=$ifla40->ezvt43($iply1c);foreach($mvpi42 as $rwmz44=>$hfel45){$cebb1f=$iply1c->{$rwmz44};$ojmj12->egav29($hfel45,$cebb1f);}}/**
     * Tests Phalcon\Mvc\Model :: save() with circular unsaved relations
     *
     * @since  2019-04-28
     *
     * @group  mysql
     * @group  pgsql
     * @group  sqlite
     */ public function xlys9(DatabaseTester $ojmj12){$ojmj12->yiqd17(base64_decode('TXZjXE1vZGVsOjpzYXZlKCkgd2l0aCBjaXJjdWxhciB1bnNhdmVkIHJlbGF0aW9ucw=='));/** @var \PDO $connection */ $eqht18=$ojmj12->afmh19();$eoyg35=new lsjq36($eqht18);$mjii1a=new jvrf1b($eqht18);$btoe2a=new frqt2b([base64_decode('aW52X3RpdGxl')=>base64_decode('VGVzdCBpbnZvaWNl')]);$iply1c=new pgni1d([base64_decode('Y3N0X25hbWVfbGFzdA==')=>base64_decode('RXZpbA=='),base64_decode('Y3N0X25hbWVfZmlyc3Q=')=>base64_decode('Q3VzdG9tZXI=')]);$btoe2a->$royo2c=$iply1c;$iply1c->$kfpr3a=[$btoe2a];$cebb1f=$iply1c->lcpz20();$ojmj12->elhj21($cebb1f);$cebb1f=$btoe2a->$umog46;$ojmj12->jrwd47($cebb1f);$cebb1f=$iply1c->$jyat25;$ojmj12->jrwd47($cebb1f);}/**
     * Tests Phalcon\Mvc\Model :: save() after setting empty array
     *
     * @see    https://github.com/phalcon/cphalcon/issues/1482214270
     *
     * @author Phalcon Team <[email protected]>
     * @since  2019-10-09
     *
     * @group  mysql
     * @group  pgsql
     * @group  sqlite
     */ public function xoaha(DatabaseTester $ojmj12){$ojmj12->yiqd17(base64_decode('TXZjXE1vZGVsOjpzYXZlKCkgYWZ0ZXIgc2V0dGluZyBlbXB0eSBhcnJheQ=='));/** @var \PDO $connection */ $eqht18=$ojmj12->afmh19();$mjii1a=new jvrf1b($eqht18);$mjii1a->ytsl37(1,1,base64_decode('dGVzdF9maXJzdE5hbWVfMQ=='),base64_decode('dGVzdF9sYXN0TmFtZV8x'));$iply1c=Customers::ldne23();$btoe2a=new kdkv48();$iply1c->$kfpr3a=[$btoe2a];$iply1c->$kfpr3a=[];$cebb1f=$iply1c->lcpz20();$ojmj12->elhj21($cebb1f);$cebb1f=$btoe2a->lcpz20();$ojmj12->cokc33($cebb1f);}/**
     * Tests Phalcon\Mvc\Model :: save() with a tinyint(1)
     *
     * @see          https://github.com/phalcon/cphalcon/issues/14355
     *
     * @author       Phalcon Team <[email protected]>
     * @since        2019-08-02
     * @dataProvider tinyintProvider
     *
     * @group        mysql
     * @group        pgsql
     * @group        sqlite
     */ public function vphzb(DatabaseTester $ojmj12,\Codeception\Example $vmyv49){$ojmj12->yiqd17(base64_decode('TXZjXE1vZGVsOjpzYXZlKCkgd2l0aCBhIHRpbnlpbnQoMSk='));$iply1c=new pgni1d();$iply1c->$jhjm28=$vmyv49[base64_decode('dmFsdWU=')];$cebb1f=$iply1c->lcpz20();$ojmj12->elhj21($cebb1f);$cebb1f=$iply1c->$jyat25;$ojmj12->jrwd47($cebb1f);$senc4a=Customers::qdcf4b($iply1c->$jyat25);$xbxb24=$vmyv49[base64_decode('dmFsdWU=')];$cebb1f=$senc4a->$jhjm28;$ojmj12->egav29($xbxb24,$cebb1f);}/**
     * Tests Phalcon\Mvc\Model\ :: save() with schema
     *
     * @author Phalcon Team <[email protected]>
     * @since  2019-11-16
     *
     * @group  mysql
     */ public function laghc(DatabaseTester $ojmj12){$ojmj12->yiqd17(base64_decode('TXZjXE1vZGVsIC0gc2F2ZSgpIHdpdGggYSBzY2hlbWE='));$zhvt4c=new ryzk4d();$zhvt4c->$xrew2f=1;$zhvt4c->$trmj4e=1;$zhvt4c->$echl4f=sgvo0();$zhvt4c->$xigq50=100;$zhvt4c->$uojc51=date(base64_decode('WS1tLWQgSDppOnM='));$tspl52=$zhvt4c->lcpz20();$ojmj12->uxrb53($tspl52);$zhvt4c=new mrfk54();$zhvt4c->$xrew2f=1;$zhvt4c->$trmj4e=1;$zhvt4c->$echl4f=sgvo0();$zhvt4c->$xigq50=100;$zhvt4c->$uojc51=date(base64_decode('WS1tLWQgSDppOnM='));$tspl52=$zhvt4c->lcpz20();$ojmj12->uxrb53($tspl52);}/**
     * Tests Phalcon\Mvc\Model\ :: save() with property source
     *
     * @author Phalcon Team <[email protected]>
     * @since  2019-11-16
     * @issue  #11922
     *
     * @group  mysql
     * @group  sqlite
     */ public function hbmxd(DatabaseTester $ojmj12){$ojmj12->yiqd17(base64_decode('TXZjXE1vZGVsIC0gc2F2ZSgpIHdpdGggcHJvcGVydHkgc291cmNl'));/** @var \PDO $connection */ $eqht18=$ojmj12->afmh19();$scyq55=new trbj56($eqht18);$scyq55->ytsl37(1,base64_decode('bGxhbWE='),base64_decode('dGVzdF9zb3VyY2U='));$zhvt4c=Sources::ldne23([base64_decode('Y29uZGl0aW9ucw==')=>base64_decode('aWQgPSA6aWQ6'),base64_decode('YmluZA==')=>[base64_decode('aWQ=')=>1,],]);$jimk57=Sources::class;$ojmj12->gzhw58($jimk57,$zhvt4c);$xbxb24=1;$cebb1f=$zhvt4c->$dnsm38;$ojmj12->egav29($xbxb24,$cebb1f);$xbxb24=base64_decode('Y29fc291cmNlcw==');$cebb1f=$zhvt4c->vqnz59();$ojmj12->apmu27($xbxb24,$cebb1f);$zhvt4c->$ufiz5a=base64_decode('dmFkZXI=');$tspl52=$zhvt4c->lcpz20();$xbxb24=0;$cebb1f=$zhvt4c->cbrd5b();$ojmj12->znwq5c($xbxb24,$cebb1f);$ojmj12->uxrb53($tspl52);/**
         * Try now with `create()`
         */ $mffo5d=new wpor5e();$mffo5d->$dnsm38=2;$mffo5d->$ufiz5a=base64_decode('bGxhbWE=');$mffo5d->$zauw5f=base64_decode('dGVzdF9zb3VyY2U=');$tspl52=$mffo5d->imti60();$ojmj12->elhj21($tspl52);}/**
     * Tests Phalcon\Mvc\Model :: save() with related records property (relation many - belongs)
     *
     * @author Balzs Nmeth <https://github.com/zsilbi>
     * @since  2020-11-04
     *
     * @see    https://github.com/phalcon/cphalcon/issues/15148
     *
     * @group  mysql
     * @group  pgsql
     * @group  sqlite
     */ public function mtwhe(DatabaseTester $ojmj12){$ojmj12->yiqd17(base64_decode('TXZjXE1vZGVsIC0gc2F2ZSgpIHdpdGggcmVsYXRlZCByZWNvcmRzIHByb3BlcnR5IChyZWxhdGlvbiBtYW55IC0gYmVsb25ncyk='));/** @var \PDO $connection */ $eqht18=$ojmj12->afmh19();$eoyg35=new lsjq36($eqht18);$eoyg35->ytsl37(77,1,0,sgvo0(base64_decode('aW52LQ=='),true));$mjii1a=new jvrf1b($eqht18);$mjii1a->ytsl37(1,1,base64_decode('dGVzdF9maXJzdE5hbWVfMQ=='),base64_decode('dGVzdF9sYXN0TmFtZV8x'));/**
         * @var Invoices $invoice
         */ $btoe2a=InvoicesKeepSnapshots::ldne23(77);$xbxb24=1;$cebb1f=$btoe2a->$royo2c->$dnsm38;$ojmj12->egav29($xbxb24,$cebb1f);$btoe2a->$royo2c->$vqea1e=base64_decode('bmV3X2ZpcnN0TmFtZQ==');$btoe2a->$royo2c->$jhjm28=0;$cebb1f=$btoe2a->lcpz20();$ojmj12->elhj21($cebb1f);/**
         * @var Customers $customer
         */ $iply1c=Customers::ldne23(1);$xbxb24=base64_decode('bmV3X2ZpcnN0TmFtZQ==');$cebb1f=$iply1c->$vqea1e;$ojmj12->apmu27($xbxb24,$cebb1f);$xbxb24=0;$cebb1f=$iply1c->$jhjm28;$ojmj12->egav29($xbxb24,$cebb1f);}/**
     * Tests Phalcon\Mvc\Model\ :: save() Infinite Loop
     *
     * @author Phalcon Team <[email protected]>
     * @since  2023-08-09
     * @issue  https://github.com/phalcon/cphalcon/issues/16395
     *
     * @group  mysql
     * @group  sqlite
     */ public function nzeyf(DatabaseTester $ojmj12){$ojmj12->yiqd17(base64_decode('TXZjXE1vZGVsIC0gc2F2ZSgpIGluZmluaXRlIFNhdmUgbG9vcA=='));/** @var \PDO $connection */ $eqht18=$ojmj12->afmh19();$eoyg35=new lsjq36($eqht18);$eoyg35->ytsl37(77,1,0,sgvo0(base64_decode('aW52LQ=='),true));$mjii1a=new jvrf1b($eqht18);$mjii1a->ytsl37(1,1,base64_decode('dGVzdF9maXJzdE5hbWVfMQ=='),base64_decode('dGVzdF9sYXN0TmFtZV8x'));$iply1c=Customers::ldne23(1);$btoe2a=Invoices::ldne23(77);$btoe2a->$royo2c=$iply1c;$iply1c->$kfpr3a=[$btoe2a];$iply1c->lcpz20();}/**
     * @return \string[][]
     */ private function ehdi10():array{return[[base64_decode('dmFsdWU=')=>base64_decode('MQ==')],[base64_decode('dmFsdWU=')=>base64_decode('MA==')],[base64_decode('dmFsdWU=')=>base64_decode('MTI3')]];}}?>

Did this file decode correctly?

Original Code

<?php /**
 * This file is part of the Phalcon Framework.
 *
 * (c) Phalcon Team <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE.txt
 * file that was distributed with this source code.
 */ declare(strict_types=1);namespace Phalcon\Tests\Integration\Mvc\Model;use DatabaseTester;use Phalcon\Mvc\Model;use Phalcon\Mvc\Model\MetaData;use Phalcon\Tests\Fixtures\Migrations\CustomersDefaultsMigration;use Phalcon\Tests\Fixtures\Migrations\CustomersMigration;use Phalcon\Tests\Fixtures\Migrations\InvoicesMigration;use Phalcon\Tests\Fixtures\Migrations\SourcesMigration;use Phalcon\Tests\Fixtures\Traits\DiTrait;use Phalcon\Tests\Models\Customers;use Phalcon\Tests\Models\CustomersDefaults;use Phalcon\Tests\Models\CustomersKeepSnapshots;use Phalcon\Tests\Models\Invoices;use Phalcon\Tests\Models\InvoicesKeepSnapshots;use Phalcon\Tests\Models\InvoicesSchema;use Phalcon\Tests\Models\InvoicesValidationFails;use Phalcon\Tests\Models\Sources;use function sgvo0;class dyzb11{use DiTrait;public function rrhz1(DatabaseTester $ojmj12){$this->yrfm13();$this->xwdu14($ojmj12);}public function lnne2(DatabaseTester $ojmj12){$this->$yjfk15[base64_decode('ZGI=')]->brdn16();}/**
     * Tests Phalcon\Mvc\Model :: save()
     *
     * @author Balzs Nmeth <https://github.com/zsilbi>
     * @since  2019-04-30
     * @author Phalcon Team <[email protected]>
     * @since  2019-05-10
     *
     * @group  mysql
     * @group  pgsql
     * @group  sqlite
     */ public function yfbj3(DatabaseTester $ojmj12){$ojmj12->yiqd17(base64_decode('TXZjXE1vZGVsIC0gc2F2ZSgp'));/** @var \PDO $connection */ $eqht18=$ojmj12->afmh19();$mjii1a=new jvrf1b($eqht18);/**
         * New model
         */ $iply1c=new pgni1d();$iply1c->$vqea1e=base64_decode('Y3N0X3Rlc3RfZmlyc3ROYW1l');$cebb1f=$iply1c->lcpz20();$ojmj12->elhj21($cebb1f);$iply1c->$exlc22=base64_decode('Y3N0X3Rlc3RfbGFzdE5hbWU=');$cebb1f=$iply1c->lcpz20();$ojmj12->elhj21($cebb1f);/**
         * Saved model
         */ $iply1c=Customers::ldne23();$xbxb24=[base64_decode('Y3N0X2lk')=>$iply1c->$jyat25,base64_decode('Y3N0X3N0YXR1c19mbGFn')=>null,base64_decode('Y3N0X25hbWVfbGFzdA==')=>base64_decode('Y3N0X3Rlc3RfbGFzdE5hbWU='),base64_decode('Y3N0X25hbWVfZmlyc3Q=')=>base64_decode('Y3N0X3Rlc3RfZmlyc3ROYW1l'),];$cebb1f=$iply1c->vnuy26();$ojmj12->apmu27($xbxb24,$cebb1f);$iply1c->$jhjm28=1;$cebb1f=$iply1c->lcpz20();$ojmj12->elhj21($cebb1f);/**
         * Modified saved model
         */ $iply1c=Customers::ldne23();$xbxb24=1;$cebb1f=$iply1c->$jhjm28;$ojmj12->egav29($xbxb24,$cebb1f);$iply1c->$exlc22=null;$cebb1f=$iply1c->lcpz20();$ojmj12->elhj21($cebb1f);/**
         * Verify model count
         */ $xbxb24=1;$cebb1f=Customers::count();$ojmj12->apmu27($xbxb24,$cebb1f);}/**
     * Tests Phalcon\Mvc\Model :: save() with related records
     *
     * @author Balzs Nmeth <https://github.com/zsilbi>
     * @since  2019-04-30
     *
     * @group  mysql
     * @group  pgsql
     * @group  sqlite
     */ public function bjph4(DatabaseTester $ojmj12){$ojmj12->yiqd17(base64_decode('TXZjXE1vZGVsIC0gc2F2ZSgpIHdpdGggcmVsYXRlZCByZWNvcmRz'));$btoe2a=new frqt2b();$btoe2a->$royo2c=new rpup2d();$btoe2a->$royo2c->tpdm2e([base64_decode('Y3N0X3N0YXR1c19mbGFn')=>0,base64_decode('Y3N0X25hbWVfZmlyc3Q=')=>base64_decode('Y3N0X3Rlc3RfZmlyc3ROYW1l')]);$cebb1f=$btoe2a->lcpz20();$ojmj12->elhj21($cebb1f);$xbxb24=0;$cebb1f=$btoe2a->$xrew2f;$ojmj12->xhqd30($xbxb24,$cebb1f);$xbxb24=$btoe2a->$xrew2f;$cebb1f=$btoe2a->$royo2c->$jyat25;$ojmj12->egav29($xbxb24,$cebb1f);$eqht18=$this->raun31(base64_decode('ZGI='));$cebb1f=$eqht18->jpwo32();$ojmj12->cokc33($cebb1f);$xbxb24=Model::DIRTY_STATE_PERSISTENT;$cebb1f=$btoe2a->zqki34();$ojmj12->apmu27($xbxb24,$cebb1f);$xbxb24=Model::DIRTY_STATE_PERSISTENT;$cebb1f=$btoe2a->$royo2c->zqki34();$ojmj12->apmu27($xbxb24,$cebb1f);}/**
     * Tests Phalcon\Mvc\Model :: save() with related records property
     *
     * @author Balzs Nmeth <https://github.com/zsilbi>
     * @since  2020-10-31
     *
     * @see    https://github.com/phalcon/cphalcon/issues/15148
     *
     * @group  mysql
     * @group  pgsql
     * @group  sqlite
     */ public function dxkx5(DatabaseTester $ojmj12){$ojmj12->yiqd17(base64_decode('TXZjXE1vZGVsIC0gc2F2ZSgpIHdpdGggcmVsYXRlZCByZWNvcmRzIHByb3BlcnR5'));/** @var \PDO $connection */ $eqht18=$ojmj12->afmh19();$eoyg35=new lsjq36($eqht18);$eoyg35->ytsl37(77,1,0,sgvo0(base64_decode('aW52LQ=='),true));$mjii1a=new jvrf1b($eqht18);$mjii1a->ytsl37(1,1,base64_decode('dGVzdF9maXJzdE5hbWVfMQ=='),base64_decode('dGVzdF9sYXN0TmFtZV8x'));/**
         * @var Invoices $invoice
         */ $btoe2a=Invoices::ldne23(77);$xbxb24=1;$cebb1f=$btoe2a->$royo2c->$dnsm38;$ojmj12->egav29($xbxb24,$cebb1f);$btoe2a->$royo2c->$vqea1e=base64_decode('bmV3X2ZpcnN0TmFtZQ==');$btoe2a->$royo2c->$jhjm28=0;$cebb1f=$btoe2a->lcpz20();$ojmj12->elhj21($cebb1f);/**
         * @var Customers $customer
         */ $iply1c=Customers::ldne23(1);$xbxb24=base64_decode('bmV3X2ZpcnN0TmFtZQ==');$cebb1f=$iply1c->$vqea1e;$ojmj12->apmu27($xbxb24,$cebb1f);$xbxb24=0;$cebb1f=$iply1c->$jhjm28;$ojmj12->egav29($xbxb24,$cebb1f);}/**
     * Tests Phalcon\Mvc\Model :: save() after fetching related records
     *
     * @see    https://github.com/phalcon/cphalcon/issues/13964
     *
     * @author Balzs Nmeth <https://github.com/zsilbi>
     * @since  2019-04-26
     *
     * @group  mysql
     * @group  pgsql
     * @group  sqlite
     */ public function klqg6(DatabaseTester $ojmj12){$ojmj12->yiqd17(base64_decode('TXZjXE1vZGVsIC0gc2F2ZSgpIGFmdGVyIGZldGNoaW5nIHJlbGF0ZWQ='));/** @var \PDO $connection */ $eqht18=$ojmj12->afmh19();$eoyg35=new lsjq36($eqht18);$eoyg35->ytsl37(77,1,0,sgvo0(base64_decode('aW52LQ==')));$eoyg35->ytsl37(88,1,1,sgvo0(base64_decode('aW52LQ==')));$mjii1a=new jvrf1b($eqht18);$mjii1a->ytsl37(1,1,base64_decode('dGVzdF9maXJzdE5hbWVfMQ=='),base64_decode('dGVzdF9sYXN0TmFtZV8x'));$mjii1a->ytsl37(2,0,base64_decode('dGVzdF9maXJzdE5hbWVfMg=='),base64_decode('dGVzdF9sYXN0TmFtZV8y'));/**
         * @var Invoices $invoice
         */ $btoe2a=Invoices::ldne23();/**
         * @var Customers $customer
         */ $iply1c=$btoe2a->$royo2c;$cebb1f=$btoe2a->lcpz20();$ojmj12->elhj21($cebb1f);/**
         * @var Model\Resultset\Simple $invoices
         */ $gjeq39=$iply1c->$kfpr3a;$cebb1f=$iply1c->lcpz20();$ojmj12->elhj21($cebb1f);}/**
     * Tests Phalcon\Mvc\Model :: save() after using related records getters
     *
     * @see    https://github.com/phalcon/cphalcon/issues/13964
     *
     * @author Balzs Nmeth <https://github.com/zsilbi>
     * @since  2019-04-26
     *
     * @group  mysql
     * @group  pgsql
     * @group  sqlite
     */ public function drmp7(DatabaseTester $ojmj12){$ojmj12->yiqd17(base64_decode('TXZjXE1vZGVsIC0gc2F2ZSgpIGFmdGVyIHVzaW5nIHJlbGF0ZWQgcmVjb3JkcyBnZXR0ZXJz'));/** @var \PDO $connection */ $eqht18=$ojmj12->afmh19();$eoyg35=new lsjq36($eqht18);$eoyg35->ytsl37(77,1,0,sgvo0(base64_decode('aW52LQ==')));$eoyg35->ytsl37(88,1,1,sgvo0(base64_decode('aW52LQ==')));$mjii1a=new jvrf1b($eqht18);$mjii1a->ytsl37(1,1,base64_decode('dGVzdF9maXJzdE5hbWVfMQ=='),base64_decode('dGVzdF9sYXN0TmFtZV8x'));$mjii1a->ytsl37(2,0,base64_decode('dGVzdF9maXJzdE5hbWVfMg=='),base64_decode('dGVzdF9sYXN0TmFtZV8y'));/**
         * @var Invoices $invoice
         */ $btoe2a=Invoices::ldne23();/**
         * @var Customers $customer
         */ $iply1c=$btoe2a->umep3b();$cebb1f=$btoe2a->lcpz20();$ojmj12->elhj21($cebb1f);/**
         * @var Model\Resultset\Simple $invoices
         */ $gjeq39=$iply1c->eops3c();$cebb1f=$iply1c->lcpz20();$ojmj12->elhj21($cebb1f);}/**
     * Tests Phalcon\Mvc\Model :: save() when default values are not set
     *
     * @see    https://github.com/phalcon/cphalcon/issues/13781
     *
     * @author Balzs Nmeth <https://github.com/zsilbi>
     * @since  2019-05-17
     *
     * @group  mysql
     * @group  pgsql
     * @group  sqlite
     */ public function bmpm8(DatabaseTester $ojmj12){$ojmj12->yiqd17(base64_decode('TXZjXE1vZGVsIC0gc2F2ZSgpIHdoZW4gZGVmYXVsdCB2YWx1ZXMgYXJlIG5vdCBzZXQ='));/** @var \PDO $connection */ $eqht18=$ojmj12->afmh19();$mjii1a=new jsfk3d($eqht18);$iply1c=new upmm3e();/**
         * Default values are present in schema
         */ $vnjx3f=[base64_decode('Y3N0X3N0YXR1c19mbGFn')=>1];$iply1c->tpdm2e($vnjx3f);$cebb1f=$iply1c->lcpz20();$ojmj12->elhj21($cebb1f);/**
         * @var MetaData
         */ $ifla40=$iply1c->zibj41();/**
         * @var array
         */ $mvpi42=$ifla40->ezvt43($iply1c);foreach($mvpi42 as $rwmz44=>$hfel45){$cebb1f=$iply1c->{$rwmz44};$ojmj12->egav29($hfel45,$cebb1f);}}/**
     * Tests Phalcon\Mvc\Model :: save() with circular unsaved relations
     *
     * @since  2019-04-28
     *
     * @group  mysql
     * @group  pgsql
     * @group  sqlite
     */ public function xlys9(DatabaseTester $ojmj12){$ojmj12->yiqd17(base64_decode('TXZjXE1vZGVsOjpzYXZlKCkgd2l0aCBjaXJjdWxhciB1bnNhdmVkIHJlbGF0aW9ucw=='));/** @var \PDO $connection */ $eqht18=$ojmj12->afmh19();$eoyg35=new lsjq36($eqht18);$mjii1a=new jvrf1b($eqht18);$btoe2a=new frqt2b([base64_decode('aW52X3RpdGxl')=>base64_decode('VGVzdCBpbnZvaWNl')]);$iply1c=new pgni1d([base64_decode('Y3N0X25hbWVfbGFzdA==')=>base64_decode('RXZpbA=='),base64_decode('Y3N0X25hbWVfZmlyc3Q=')=>base64_decode('Q3VzdG9tZXI=')]);$btoe2a->$royo2c=$iply1c;$iply1c->$kfpr3a=[$btoe2a];$cebb1f=$iply1c->lcpz20();$ojmj12->elhj21($cebb1f);$cebb1f=$btoe2a->$umog46;$ojmj12->jrwd47($cebb1f);$cebb1f=$iply1c->$jyat25;$ojmj12->jrwd47($cebb1f);}/**
     * Tests Phalcon\Mvc\Model :: save() after setting empty array
     *
     * @see    https://github.com/phalcon/cphalcon/issues/1482214270
     *
     * @author Phalcon Team <[email protected]>
     * @since  2019-10-09
     *
     * @group  mysql
     * @group  pgsql
     * @group  sqlite
     */ public function xoaha(DatabaseTester $ojmj12){$ojmj12->yiqd17(base64_decode('TXZjXE1vZGVsOjpzYXZlKCkgYWZ0ZXIgc2V0dGluZyBlbXB0eSBhcnJheQ=='));/** @var \PDO $connection */ $eqht18=$ojmj12->afmh19();$mjii1a=new jvrf1b($eqht18);$mjii1a->ytsl37(1,1,base64_decode('dGVzdF9maXJzdE5hbWVfMQ=='),base64_decode('dGVzdF9sYXN0TmFtZV8x'));$iply1c=Customers::ldne23();$btoe2a=new kdkv48();$iply1c->$kfpr3a=[$btoe2a];$iply1c->$kfpr3a=[];$cebb1f=$iply1c->lcpz20();$ojmj12->elhj21($cebb1f);$cebb1f=$btoe2a->lcpz20();$ojmj12->cokc33($cebb1f);}/**
     * Tests Phalcon\Mvc\Model :: save() with a tinyint(1)
     *
     * @see          https://github.com/phalcon/cphalcon/issues/14355
     *
     * @author       Phalcon Team <[email protected]>
     * @since        2019-08-02
     * @dataProvider tinyintProvider
     *
     * @group        mysql
     * @group        pgsql
     * @group        sqlite
     */ public function vphzb(DatabaseTester $ojmj12,\Codeception\Example $vmyv49){$ojmj12->yiqd17(base64_decode('TXZjXE1vZGVsOjpzYXZlKCkgd2l0aCBhIHRpbnlpbnQoMSk='));$iply1c=new pgni1d();$iply1c->$jhjm28=$vmyv49[base64_decode('dmFsdWU=')];$cebb1f=$iply1c->lcpz20();$ojmj12->elhj21($cebb1f);$cebb1f=$iply1c->$jyat25;$ojmj12->jrwd47($cebb1f);$senc4a=Customers::qdcf4b($iply1c->$jyat25);$xbxb24=$vmyv49[base64_decode('dmFsdWU=')];$cebb1f=$senc4a->$jhjm28;$ojmj12->egav29($xbxb24,$cebb1f);}/**
     * Tests Phalcon\Mvc\Model\ :: save() with schema
     *
     * @author Phalcon Team <[email protected]>
     * @since  2019-11-16
     *
     * @group  mysql
     */ public function laghc(DatabaseTester $ojmj12){$ojmj12->yiqd17(base64_decode('TXZjXE1vZGVsIC0gc2F2ZSgpIHdpdGggYSBzY2hlbWE='));$zhvt4c=new ryzk4d();$zhvt4c->$xrew2f=1;$zhvt4c->$trmj4e=1;$zhvt4c->$echl4f=sgvo0();$zhvt4c->$xigq50=100;$zhvt4c->$uojc51=date(base64_decode('WS1tLWQgSDppOnM='));$tspl52=$zhvt4c->lcpz20();$ojmj12->uxrb53($tspl52);$zhvt4c=new mrfk54();$zhvt4c->$xrew2f=1;$zhvt4c->$trmj4e=1;$zhvt4c->$echl4f=sgvo0();$zhvt4c->$xigq50=100;$zhvt4c->$uojc51=date(base64_decode('WS1tLWQgSDppOnM='));$tspl52=$zhvt4c->lcpz20();$ojmj12->uxrb53($tspl52);}/**
     * Tests Phalcon\Mvc\Model\ :: save() with property source
     *
     * @author Phalcon Team <[email protected]>
     * @since  2019-11-16
     * @issue  #11922
     *
     * @group  mysql
     * @group  sqlite
     */ public function hbmxd(DatabaseTester $ojmj12){$ojmj12->yiqd17(base64_decode('TXZjXE1vZGVsIC0gc2F2ZSgpIHdpdGggcHJvcGVydHkgc291cmNl'));/** @var \PDO $connection */ $eqht18=$ojmj12->afmh19();$scyq55=new trbj56($eqht18);$scyq55->ytsl37(1,base64_decode('bGxhbWE='),base64_decode('dGVzdF9zb3VyY2U='));$zhvt4c=Sources::ldne23([base64_decode('Y29uZGl0aW9ucw==')=>base64_decode('aWQgPSA6aWQ6'),base64_decode('YmluZA==')=>[base64_decode('aWQ=')=>1,],]);$jimk57=Sources::class;$ojmj12->gzhw58($jimk57,$zhvt4c);$xbxb24=1;$cebb1f=$zhvt4c->$dnsm38;$ojmj12->egav29($xbxb24,$cebb1f);$xbxb24=base64_decode('Y29fc291cmNlcw==');$cebb1f=$zhvt4c->vqnz59();$ojmj12->apmu27($xbxb24,$cebb1f);$zhvt4c->$ufiz5a=base64_decode('dmFkZXI=');$tspl52=$zhvt4c->lcpz20();$xbxb24=0;$cebb1f=$zhvt4c->cbrd5b();$ojmj12->znwq5c($xbxb24,$cebb1f);$ojmj12->uxrb53($tspl52);/**
         * Try now with `create()`
         */ $mffo5d=new wpor5e();$mffo5d->$dnsm38=2;$mffo5d->$ufiz5a=base64_decode('bGxhbWE=');$mffo5d->$zauw5f=base64_decode('dGVzdF9zb3VyY2U=');$tspl52=$mffo5d->imti60();$ojmj12->elhj21($tspl52);}/**
     * Tests Phalcon\Mvc\Model :: save() with related records property (relation many - belongs)
     *
     * @author Balzs Nmeth <https://github.com/zsilbi>
     * @since  2020-11-04
     *
     * @see    https://github.com/phalcon/cphalcon/issues/15148
     *
     * @group  mysql
     * @group  pgsql
     * @group  sqlite
     */ public function mtwhe(DatabaseTester $ojmj12){$ojmj12->yiqd17(base64_decode('TXZjXE1vZGVsIC0gc2F2ZSgpIHdpdGggcmVsYXRlZCByZWNvcmRzIHByb3BlcnR5IChyZWxhdGlvbiBtYW55IC0gYmVsb25ncyk='));/** @var \PDO $connection */ $eqht18=$ojmj12->afmh19();$eoyg35=new lsjq36($eqht18);$eoyg35->ytsl37(77,1,0,sgvo0(base64_decode('aW52LQ=='),true));$mjii1a=new jvrf1b($eqht18);$mjii1a->ytsl37(1,1,base64_decode('dGVzdF9maXJzdE5hbWVfMQ=='),base64_decode('dGVzdF9sYXN0TmFtZV8x'));/**
         * @var Invoices $invoice
         */ $btoe2a=InvoicesKeepSnapshots::ldne23(77);$xbxb24=1;$cebb1f=$btoe2a->$royo2c->$dnsm38;$ojmj12->egav29($xbxb24,$cebb1f);$btoe2a->$royo2c->$vqea1e=base64_decode('bmV3X2ZpcnN0TmFtZQ==');$btoe2a->$royo2c->$jhjm28=0;$cebb1f=$btoe2a->lcpz20();$ojmj12->elhj21($cebb1f);/**
         * @var Customers $customer
         */ $iply1c=Customers::ldne23(1);$xbxb24=base64_decode('bmV3X2ZpcnN0TmFtZQ==');$cebb1f=$iply1c->$vqea1e;$ojmj12->apmu27($xbxb24,$cebb1f);$xbxb24=0;$cebb1f=$iply1c->$jhjm28;$ojmj12->egav29($xbxb24,$cebb1f);}/**
     * Tests Phalcon\Mvc\Model\ :: save() Infinite Loop
     *
     * @author Phalcon Team <[email protected]>
     * @since  2023-08-09
     * @issue  https://github.com/phalcon/cphalcon/issues/16395
     *
     * @group  mysql
     * @group  sqlite
     */ public function nzeyf(DatabaseTester $ojmj12){$ojmj12->yiqd17(base64_decode('TXZjXE1vZGVsIC0gc2F2ZSgpIGluZmluaXRlIFNhdmUgbG9vcA=='));/** @var \PDO $connection */ $eqht18=$ojmj12->afmh19();$eoyg35=new lsjq36($eqht18);$eoyg35->ytsl37(77,1,0,sgvo0(base64_decode('aW52LQ=='),true));$mjii1a=new jvrf1b($eqht18);$mjii1a->ytsl37(1,1,base64_decode('dGVzdF9maXJzdE5hbWVfMQ=='),base64_decode('dGVzdF9sYXN0TmFtZV8x'));$iply1c=Customers::ldne23(1);$btoe2a=Invoices::ldne23(77);$btoe2a->$royo2c=$iply1c;$iply1c->$kfpr3a=[$btoe2a];$iply1c->lcpz20();}/**
     * @return \string[][]
     */ private function ehdi10():array{return[[base64_decode('dmFsdWU=')=>base64_decode('MQ==')],[base64_decode('dmFsdWU=')=>base64_decode('MA==')],[base64_decode('dmFsdWU=')=>base64_decode('MTI3')]];}}?>

Function Calls

None

Variables

None

Stats

MD5 86e5032e0d9aadfc7b8e7f914c8c0f53
Eval Count 0
Decode Time 98 ms