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NEZAwTZNUDM1MjRDNRGgk5FzdGRDbK0gcnsoBdFDMAN/MDUDeS0+KtED0CvSB7AkBq8GrD6eLT4p4gNBLM8szAUfMgu/LT4sZAUxLaIDcWlnfD0soRaDPSCJAg1TLd9fLd8t347xLdPmoXQo/BEFohJhDy8VzQoQh0BbJGldW7TOPUNfMV/2OarRMVwNMDDyag5QDZAkaiAw/1J0CVAkajE/dJ5DMT8xPzE8agTAICAOsltdB6AwrzZ/NnBd+v8K4C5hJB8njhHIJzOxJwZyM2EEQD2hAHA0kS6SLPF/8F9WMkngJp8mnAvCMTQEMV+gTMAMYKVTPz4="); echo $x; ?>
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
@<?php require_once('PGrid.�'); if(!session_id()){ �start();}@ $_6543BE2355D3BDE8E7D9744898D3C = isset($_GET['gn']) ?�� : di@PHPGRID_ERROR: URL parameter "gn"� not defined �$s_U�g �N` �s��� "��;� @137A491D15F841DE426EDF3DEC9B1B0L5Mdt��:'json'; B$ �_sql@$_SESSION`[2�_KEY.'_'.��p� '] aFA47488368CB25D0688BEA4E09447CB5unserialize�����0B� a_key�EFE955F338604C32FD?0C9F6F5227�%�%��_fbQ6DB75F2657BE810FAF21ACB351E�D3741`__,�,�Ttable��� $P_fil*0t _ _ \#db_connect8� = �#o��#o9�9�  )�5ca ok�81��� �9��!1 ? ? 5�1 b$0 O O5�id G"�s a_"/.��!����44r����A�%w���cnA��^Rempty($cn^! $db�pnew C_DataBase(�YeDB_HOSTNAME, XU SER^PASSWORD�nTY@@P�CHARSETh} else { o a 0["hostn_�",],uM@ passwordd@�b�dbtype�charset(�"]� m�$fk�'�F`p2_V/V+�]�_9F9ED78A6778X�1"CA3BCC87AEY`8C6�(��q�JQGo�ROWpP_�])r�explodq�,', urldec�t�o?)n null!m/b}'s!��-���-1p~�rsp"->_6219D1B2881E5CF155E18DB89970A532($m�, 10�$pk_val_%�= �rquoteS�elds($rs,�u�okA_[�_94755134H81B7B2364g�15�373C2A0 �' WHERE ('. im8$�s�) .') IN��S~pb!FjPASELECT 0$�lS� FROM2_l/l+ �� �F5�� �*@result�ery_then_fetch_array�r{:s�PZP �afBp(!At�(b$�[�] �]!�&d!�page�i��Q&a?*�P`':%A$limi 10'rows��):20 `s<�>Q:'as �c'+�$sidx_PZ:"" �/(`/+#��db->,�(C0D0+P� �@c@qlOrderByp(! �8q"" " S0ER BY� P`P� r������ != ''�p $S;QL��u. _0/.' AND'�q#��h� �` D; }XqX`o�6�6�P�"�B? Q�_B26D7F3=�22626C6A96832EBF564CC4(��coun#a-�_BF�@8D960EC97�E06E60�8BA4��859Eqq�� $�> �0 && (�)fC_AA82B��346696E86FA05185���[�C2Z�ceilr�A/�% $�NOO,�e� P ($11 >��)_� �=_ �,Q#��a!6�*� -�2��%"b<0��r  "�SetFCq"Moh@ADO�pFETCH_BOT�HA��2a�a�+1@ ����@ @p switch�@1ֺֿ� c��� "xml": $data��"<? ver�!='1.0' ens�ing='utf-8'?>��5�3.= "<F�M>".."8?</�totalQ  !�;�rec>�sQ*��F� $i p�whil�0 �336F29F8C730375�A55C6x�D48F7C20�a")1D id='".�4Utility::gb��iy�ow�A��l@mP"'2for( E�<pP�, numpi}5`$i++c_6BE1�CD3:�1906>�A4F7=�74�95CAE7 �f_�� � i� D� Hcel1 $ �[����] !��S��"��/` r9�h�P! he@a[�("Content-��: t �ext/&�;��=%�" �echo 3�break�+5json+B_D5D71DA247C8PA35?�4F@�6MP3524C5���stdCl� r{(�C005y->*��+��$��>�->)�A,�,�2 �->,d1-�qig|=,��= � S-�_-�-ߎ�-��t(��a/� �@[$i][��=C_1_�9��1\ 00�jP �$j 0�Rt P$j1?t�C1?1?1<j� �[]�0�66p]�� �.a$'��'3�'r3a@=�p4�.�,��_V2I�&�&� �141_�L� `�S?>
Output for hhvm-3.10.0

Process exited with code 153.