3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr=gzuncompress(base64_decode('eJy1G01v3MaV5NLyah3XHynQIGicSVvbspKVraRAUkdysrJlW40+aElxkS8suLuzu6y45JrkWpYboFf/ hR4KFOilpxx67KUo0F/ QP1D0F/RS9OQCfW8ehxwOubIsK2vAyx2+efPem/ c9o42N263b91cNyzAM06i9Bl/ eaBxGSZy4UQLD6q+agZ+/ GfTZgRm1M/ AQhO14zxu340e++QmigXcmvJuFh77n83bgjjiBF4bMqwBrCtAGjPe8qBsGCQ8Sgi2OacB+2N3zBkEY8Rw4H1OAbXjhRt0hgclfCsDpdAiWIhhlQFsUR1EUo3G+aD5GwE6ZQvOcYZvmjPGuZbyxJERnEsi+6yVhhIBiWMqs1wGeA95NxCIzMAK/ H3mxecUyAZODo6cEnBtzc2VJSHzJTBGfg6/ RAexFO+Y+IGn3Oh8bdcIDSPxw0Fo2az/ FTXqwfpPtRm4Qu93ECwO270U9NuBis3mysLDQQKTLArNRn7ON1pJZu4AzV3dZ6/ PdrdtbGxtru8s3PkYQR6MWCEOtWsL/ rFRViLBHEx4dCKkieMTjiZ+YV2C6bb1nG9cFua9n0DyKwqg9dIOez6OviZjiQstCAshWJXFIwLJFTGwREzdSuN3t1uZO6/ bu2tYmW9vZWm+Jp/ XVh6vrbHvVWW3ttlbWV+GxdedEeVx6BR6PQ3uFCC4imt3WdgHRiTK59gpMVlOnseFUuIl3beP3TtnVqFYirT4c8wBmZlZGlKlWpoyqCKwUQcTdHiKQfgaXS9kHMn7nFMYvohOo4fQFcARO1UvkbIHeVvlWwPlbIdKzuPYkADtN+AiYjsmrpFQNeILgvyZP/ LVVKWdL7nNRTHXTNojI646lElg3LOCqBcLHILAsIoFZdwo+Feh75lT4RRh/ hBpXh+EvRr32fS9uFzYDMfSAl4L7hcnqVrwcnaCrQpM1Bw+v5SbQPHWxumkZtjUNXWYB6GNJ25GS+WeZc6VIeYheH0/ euc6b9QpHfkU68r8HPQ5KMeDgx3n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.0 - 7.2.0
MMCACHE importstartimportstart�S no_skip_sql?S file_nameS file_name'S dircontentS dircontent'S lockignoreS lockignore'SarchSarch'SarchdirSarchdir'S archtstampS archtstamp'P lockignore+< waitorlock< dbconnectSconqis&PdbaseB<<mysql_select_db;qislogA=#SQL: Transaction wird gestartet... =(A<SET AUTOCOMMIT=0;PconqisB<< mysql_querySresult&,/;mysql_error_handler\conqisB=A=SET AUTOCOMMIT=0;=OA<0SET TRANSACTION ISOLATION LEVEL REPEATABLE READ;PconqisB<< mysql_querySresult&,<;mysql_error_handler\conqisB=A=0SET TRANSACTION ISOLATION LEVEL REPEATABLE READ;=OA<START TRANSACTION;PconqisB<< mysql_querySresult&,I;mysql_error_handler\conqisB=A=START TRANSACTION;=OP dircontent+�P file_nameB<<opendirShandle&PhandleB<<readdirSfile&+�Pfile.+PPfile..+PP no_skip_sql+; runstatements<get_sqlj\conqisB=P file_name/PfileA==Parch+�P archtstamp+qA<Ymd_His_<dateSarchtst&P file_name/PfileA<Parchdir/ParchtstPfileA<<rename*�;import\conqisB=P file_name/PfileA==;qislogA=&SQL: �nderungen werden gespeichert... =(A<COMMIT;PconqisB<< mysql_querySresult&,P;mysql_error_handler\conqisB=A=COMMIT;=OPhandleB<<closedir*�P no_skip_sql+�; runstatements<get_sqlj\conqisB=\ file_nameB==*�;import\conqisB=\ file_nameB==;qislogA=!SQL: Transaction wird beendet... =(A<COMMIT;PconqisB<< mysql_querySresult&,�;mysql_error_handler\conqisB=A=COMMIT;=O<unlock>importimportASconqis?S file_name?SdbaseSdbase'SfieldsSfields'S table_nameS table_name'S trennzeichenS trennzeichen'S terminatorS terminator'S overwriteS overwrite'S field_startS field_start'S field_lengthS field_length'Szaehler&<timeSzeit_von&;qislogA< %y-%m-%d %T<strftime========== ): I M P O R T B E G I N N ========== A==(S sql_clause&insertPdbaseB<<mysql_select_dbP table_nameselect * from 7 where 1=0;A<PconqisB<< mysql_querySresult&,A;mysql_error_handler\conqisB=P table_nameselect * from 7 where 1=0;A==OPresultB<<mysql_num_fieldsStable_fieldcount&GStable_fieldnames&Ssql_targetfields&Si&PiPfields-TeVi"*MPresultB<PiB<<mysql_field_nameStable_fieldname&Vsql_targetfieldsPiPfields+QVsql_targetfields,*QP overwrite+zP table_name delete from 7;A<PconqisB<< mysql_querySresult&,z;mysql_error_handler\conqisB=P table_name delete from 7;A==O9P file_nameB<A<r<fopen:Sfp&,�; fileerror\ file_nameB==OPfpB<<feofcFalse+!Scheck_ok&GS field_values&P trennzeichen+�PfpB<A<<fgetsSnew&P terminatorB<B<<explodeSnew_field_values&Si&PiPfields+�PiPnew_field_valuesQB<<trimS field_valuesT&Vi"*�PfpB<A<<fgetsSnew&Si&PiPfields+�PnewB<PiP field_startQA<PiP field_lengthQB<<substrB<<trimS field_valuesT&Vi"*�PfieldsSi&P sql_clause into P table_name87 (Psql_targetfields87 ) values (Ssql&S field_valuesMNSiS field_valuebb&&FP field_value0+�VsqlNULL*�0\+�VsqlNULL*�P field_valueB<<mysql_escape_string''VsqlScheck_ok&1PiPfields+Vsql,Vi"*�1Vsql);Pcheck_ok+�PsqlB<PconqisB<< mysql_querySresult&,;mysql_error_handler\conqisB=\sqlB=\newB==OVzaehler"*�PfpB<<fclose;qislogA< %y-%m-%d %T<strftime============= -: Datenimport abgeschlossen ============= A==(Pzaehler<timePzeit_vonA<A<<roundSschnitt&;qislogPzaehler 7 inserts @ 87 inserts/s A==(>runstatementsrunstatementshSsql?Sconqis?S file_name?SdbaseSdbase'B<<mysql_select_dbSsqlMNfSkeySsqlxbb&&FPsqlxB<A<<IMPORT><strpos+PconqisB<P file_nameB<<importPsqlxB<A< <NOBABSCAN><strpos+*A<php qisimport_nobabscan.sh.php<passthru;qislogA=Nobab-Bildimport abgeschlossen =(PsqlxB<A<<ITALY><strpos+4Iqisimport_italy.inc.php;qislogA= Italy-Datenexport abgeschlossen =(PsqlxB<A< <FILENAME><strpos+KP file_nameB<P file_nameB<A</<strrposA<<substrS file_name1&A< <FILENAME>B<PsqlxB<< str_replaceSsqlx&;qislogA< %y-%m-%d %T<strftime A==(PsqlxB<PconqisB<< mysql_querySresult&,a;mysql_error_handler\conqisB=\sqlxB==O;qislogA=/============ SQL ausgef�hrt ============ =(* 1> dbconnectdbconnectSdbhostSdbhost'SdbuserSdbuser'S dbpasswordS dbpassword'SdbaseSdbase'PdbhostB<PdbuserB<P dbpasswordB<< mysql_connectSconqis&PdbaseB<<mysql_select_dbPconqis>get_sqlget_sql$Ssql_fileSsql_file'GSsql&Psql_fileIA<;P sql_scriptB<<explodeSsql&SsqlMN!SsqlidSsql1bb&&FPsql1B<<trim+Psqlid_sqlK*1Psql>mysql_error_handlermysql_error_handler+Sconqis?Ssql@Sdata@Sqiserror&Vqiserror:======================== SQL-FEHLER ===================== Pdata+Pdata VqiserrorPsql+Psql VqiserrorPconqisB<< mysql_errno===== MySQL Error : PconqisB<< mysql_error VqiserrorVqiserror:=========== IMPORTABBRUCH und Programmende ============== ;qislog\qiserrorB==> fileerrorfileerrorS file_name@Smissingfile_lockSmissingfile_lock'L+ Pmissingfile_lock+ <unlock;qislogP file_nameF======================== Datei-FEHLER ===================== Die Datei d konnte nicht ge�ffnet werden. =================== Importabbruch und Programmende ================= A==(>qislogqislog/Sentry?Pentry0 Programmende+A<=PentryB<<strlen7A<< str_repeat Pentry A<=PentryB<<strlen7A<< str_repeat Sentry&1SlogfileSlogfile'B<A<a<fopenSfp&B<PentryB<<fwritePfpB<<fclosePentry> waitorlockwaitorlock@S file_nameS file_name'SlockfileSlockfile'S time2waitS time2wait'Sislocked&A<<sleepPlockfileB<< file_exists, P time2waitB<<sleepPlockfileB<< file_exists+Sislocked&PlockfileB<< file_exists,P time2waitB<<sleepPlockfileB<< file_exists+'Sislocked&PlockfileB<< file_exists,PlockfileB<< file_exists, Pislocked, PlockfileB<A<w<fopenSfplock&B<PfilenameB<<fputsPfplockB<<fclose>unlockunlock S file_nameS file_name'SlockfileSlockfile'B<<unlink> parameterparameter[S lockignoreS lockignore'SargcSargc'SargvSargv'(�========================================= (c) 2003 DPD Germany (West) GmbH & Co. KG QIS3-Importprogramm. ========================================= Pargc+PargvQB<G--helpH-helpH-hH-?A<<in_array+O{Syntax: <import>.php [-i|-s|-h] [-l] -i --import startet den Import mit SQL-Ausf�hrung -s --skip-sql �berspringt die SQL-Ausf�hrung --> reiner Datenimport -l --lock-ignore �berspringt die Pr�fung auf ein Lock-File -h --help zeigt diesen Hilfetext an Die Software wurde unter Haftungsausschlu� zur Verf�gung gestellt. Alle Rechte vorbehalten. Der Import wurde nicht gestartet. Pargc+(PargvQB<G --lock-ignoreH-lA<<in_array+(A<Das Lock-File wird ignoriert <qislog(S lockignore&Pargc,1Pargc+AP lockignore+APargvQB<G--importH-iA<<in_array+AA<Der Import wurde gestartet... <qislog(A<< importstartA< Programmende<qislogOPargc,JPargc+ZP lockignore+ZPargvQB<G --skip-sqlH-sA<<in_array+ZA<'Der Import wurde ohne SQL gestartet... <qislog(A<< importstartA< Programmende<qislogOOeDas Argument ist unbekannt. Der Import wurde nicht gestartet. Benutzen Sie --help f�r weitere Hilfe A<qis3_check_dongle< is_callable+ <qis3_check_dongle, A< abracadabra<qis3_secret_key simsalabim+ Idongleerror_sh.phpOIconf_db.inc.phpP import_pathB<<chdirIsequence.inc.phpA<<set_time_limitGS field_start&GS field_length&S lockignore&>