From 0984d25723e46235c7050258682f75a2cf89b446 Mon Sep 17 00:00:00 2001 From: Greg Beaver Date: Sun, 26 Jul 2009 00:39:40 +0000 Subject: [PATCH] fix zip front controller tests for php6 --- .../tests/zip/files/frontcontroller12.phar.inc | 14 +++++++------- .../tests/zip/files/frontcontroller12.phar.zip | Bin 786 -> 793 bytes .../tests/zip/files/frontcontroller3.phar.inc | 2 +- .../tests/zip/files/frontcontroller3.phar.zip | Bin 816 -> 818 bytes .../tests/zip/files/frontcontroller4.phar.inc | 2 +- .../tests/zip/files/frontcontroller4.phar.zip | Bin 812 -> 813 bytes ext/phar/tests/zip/frontcontroller21.phar.phpt | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/ext/phar/tests/zip/files/frontcontroller12.phar.inc b/ext/phar/tests/zip/files/frontcontroller12.phar.inc index 77c4a1dd0e..c5f38ffd19 100644 --- a/ext/phar/tests/zip/files/frontcontroller12.phar.inc +++ b/ext/phar/tests/zip/files/frontcontroller12.phar.inc @@ -3,13 +3,13 @@ $a = new Phar(dirname(__FILE__) . '/frontcontroller12.phar.zip'); $a['index.php'] = 'setStub('5<8?1XDlay5nP#Wl*#3KFTlF}q( UhaqcZWdmts0>bG)ItOeF06yG0E&u=k delta 217 zcmbQqHi=C?z?+$c0SuIT_gUEYpZ;RP$iM)?oD4z?nRzLx6?z331$m`>3>CaC7bogF zF)B^wV^o?rO?~1%<%y3}Cvz}rOg3cHnHgklIh%pC<1D3V<*l&;setStub(' "a.phps"); + static $b = array(b"/hi" => b"a.phps"); if (isset($b[$a])) return $b[$a]; return $a; } diff --git a/ext/phar/tests/zip/files/frontcontroller3.phar.zip b/ext/phar/tests/zip/files/frontcontroller3.phar.zip index f167f2f6efbaa5312231c70e0939444869ccd20d..6f35a8042c2866d457e28e6a2cda6589bda3d06d 100644 GIT binary patch delta 363 zcmdnMwuy}|z?+$c0Sso&`DrzgPf{aX+p%REBSegWAtN&%Rf*-3w^vwz(kv7GC0Rgf zC+3)QCn@P?WGX4x+9@PWTyxC^WYpUC+b=K!O#xw61|fz-y{v-tyiz^}0_IQN$0!9h zck&%Z9Tt#Dljk!@nSk7rs8^6tfN4a4HzN~B8U#S<;VzsU#iTBWY8|>-klEo?K=0si m9=dwroW=w(pgkbW2J{sIYyuksbYL;eg_8xCrP%&~LlOYlL{Ws^rvbsetStub(' false); + static $b = array(b"/hi" => false); if (isset($b[$a])) return $b[$a]; return $a; } diff --git a/ext/phar/tests/zip/files/frontcontroller4.phar.zip b/ext/phar/tests/zip/files/frontcontroller4.phar.zip index 1ad83f8a65201f127bfc83ede1f4a3f34f43240c..fb27ccb0b1a92b6552710c2134953bdc4c7e345f 100644 GIT binary patch delta 245 zcmZ3(ww8@Az?+$c0Sp$+`DrzgPm(2E+p%Txd`59zkU-SMv)2EC(*Gy=Lu4lAm@_6# zTzp#*B)j(g_6y8FSrBGr5MoHw%PL6EE9GN=nZW{5HF+1K6vWgUj5-jJ*-TP`AWIYV z3Ni}d8XB3zP%WJt#-t9>36w(UEM)}gM79bp{eVeIXf0S8XmByyWFBTIwx2*@1_l6L C7fuiW delta 294 zcmZ3>wuX%_z?+$c0Swf8_gPHjlVqvjb-6fs0i!rCNZ_+{!sUNJ>3a;ut*YA2LY^tpTeCx}_NA On901%QfxoKE&>4eR!Zpr diff --git a/ext/phar/tests/zip/frontcontroller21.phar.phpt b/ext/phar/tests/zip/frontcontroller21.phar.phpt index d0a16c5d99..74caa2c814 100644 --- a/ext/phar/tests/zip/frontcontroller21.phar.phpt +++ b/ext/phar/tests/zip/frontcontroller21.phar.phpt @@ -15,7 +15,7 @@ files/frontcontroller12.phar.zip --EXPECTHEADERS-- Content-type: text/html; charset=UTF-8 --EXPECTF-- -string(10) "/index.php" +%unicode|string%(10) "/index.php" string(10) "/index.php" string(%d) "phar://%sfrontcontroller21.phar.php/index.php" string(18) "/index.php?test=hi" -- 2.50.1