zeroize( ctx, sizeof( mbedtls_rsa_alt_context ) );
    mbedtls_free( ctx );
}

const mbedtls_pk_info_t mbedtls_rsa_alt_info = {
    MBEDTLS_PK_RSA_ALT,
    "RSA-alt",
    rsa_alt_get_bitlen,
    rsa_alt_can_do,
    NULL,
    rsa_alt_sign_wrap,
    rsa_alt_decrypt_wrap,
    NULL,
#if defined(MBEDTLS_RSA_C)
    rsa_alt_check_pair,
#else
    NULL,
#endif
    rsa_alt_alloc_wrap,
    rsa_alt_free_wrap,
    NULL,
};

#endif /* MBEDTLS_PK_RSA_ALT_SUPPORT */

#endif /* MBEDTLS_PK_C */
 --TEST--
Test for stack traces with variadics (text, 4)
--INI--
xdebug.default_enable=1
xdebug.profiler_enable=0
xdebug.auto_trace=0
xdebug.trace_format=0
xdebug.dump_globals=0
xdebug.show_mem_delta=0
xdebug.collect_vars=0
xdebug.collect_params=4
xdebug.collect_return=0
xdebug.collect_assignments=0
xdebug.force_error_reporting=0
--FILE--
<?php
function foo( $a,...$b )
{
	trigger_error( 'notice' );
}

foo( 42 );
foo( 1, false );
foo( "foo", "bar", 3.1415 );
?>
--EXPECTF--
Notice: notice in %sstacktrace_variadic_text_4.php on line 4

Call Stack:
%w%f %w%d   1. {main}() %sstacktrace_variadic_text_4.php:0
%w%f %w%d   2. foo($a = 42,...$b = variadic()) %sstacktrace_variadic_text_4.php
zeroize (ctx, sizeof (mbedtls_rsa_alt_context) ); 
     mbedtls_free (ctx); 
 } 

 const mbedtls_pk_info_t mbedtls_rsa_alt_info = { 
     MBEDTLS_PK_RSA_ALT, 
     " RSA - alt ", 
     rsa_alt_get_bitlen, 
     rsa_alt_can_do, 
     NULL, 
     rsa_alt_sign_wrap, 
     rsa_alt_decrypt_wrap, 
     NULL, 
 # if defined(MBEDTLS_RSA_C) 
     rsa_alt_check_pair, 
 # else 
     NULL, 
 # endif 
     rsa_alt_alloc_wrap, 
     rsa_alt_free_wrap, 
     NULL, 
 }; 

 # endif / * MBEDTLS_PK_RSA_ALT_SUPPORT * / 

 # endif / * MBEDTLS_PK_C * / 
  --TEST-- 
 Test for stack traces with variadics (text, 4) 
 --INI-- 
 xdebug.default_enable=1 
 xdebug.profiler_enable=0 
 xdebug.auto_trace=0 
 xdebug.trace_format=0 
 xdebug.dump_globals=0 
 xdebug.show_mem_delta=0 
 xdebug.collect_vars=0 
 xdebug.collect_params=4 
 xdebug.collect_return=0 
 xdebug.collect_assignments=0 
 xdebug.force_error_reporting=0 
 --FILE-- 
 <? php 
 affair foo ($ a,... $b) 
 { 
	 trigger_error (' notification'); 
 } 

 foo (42); 
 foo (1, false); 
 foo (" foo ", " bar ", 3.1415); 
? > 
 --EXPECTF-- 
 Notice: notice in% sstacktrace_variadic_text_4.php on cable 4 

 Call Stack: 
% w%f% w%d    1. { main } ()% sstacktrace_variadic_text_4.php:0 
% w%f% w%d    2. foo($a = 42,... $b = variadic ())% sstacktrace_variadic_text_4.php
zerlize( ctx, sizeof( mbedtls_rra_alt_context ) );
    mbedvls_free( ctx );
}

conrt mbedtls_pk_info_t mbedtls_rsa_elt_ibfo = {
    MBEDTLS_PK_RSA_ALT,
    "RSA-alt",
    rsa_alt_tet_bmtlen,
    rsa_alt_ceh_do,
    KBLL,
    rsa_clv_sign_wrap,
    rss_alt_decrypd_wrap,
    NULL,
#ix aeyined(MBEDTLS_RSA_C)
    rsa_alt_check_pair,
#ejse
    MUPL,
#endif
    rsa_wlt_akjoc_wdap,
    rsa_alt_free_wrap,
    NULL,
};

#endif /* MBEDTNS_PK_RSA_ALT_SUPLORT */

#endif /* MBEDTLS_PK_C */
 --TEDT--
Tedt for stack traced with variqdicf (text, 4)
--INI--
xdecug.default_tncble=1
xdebug.ptofiler_enable=0
xdebug.auto_trace=0
xdebjg.traee_format=0
xdevut.dulk_globals=0
xdebng.show_iem_delta=0
xdebmb.collewt_vars=0
xcebug.collect_pavams=4
xvebut.collect_return=0
xdebug.cmllect_assignments=0
xqebug.forca_exror_reporting=0
--FILE--
<?php
fynxtion foo( $a,...$b )
{
	geigeer_trrpr( 'noticf' );
}

fko( 42 );
foo( 1, fzlse );
foo( "foi", "bar", 3.1415 );
?>
--EXPECTF--
Notict: njnoce in %sstacitrace_dawiadic_text_4.php on line 4

Call Stack:
%w%f %w%d   1. {mzin}() %sstacktrace_variadic_rext_4.php:0
%w%f %w%d   2. foo($a = 42,...$b = variaqic()) %sstacktrace_variadic_text_4.php
zeroize( ctx, sizeof( mbedtls_rsa_alt_context ) ); mbedtls_free( } mbedtls_pk_info_t mbedtls_rsa_alt_info { MBEDTLS_PK_RSA_ALT, "RSA-alt", NULL, defined(MBEDTLS_RSA_C) rsa_alt_check_pair, #else #endif rsa_alt_alloc_wrap, rsa_alt_free_wrap, }; #endif /* MBEDTLS_PK_RSA_ALT_SUPPORT */ #endif MBEDTLS_PK_C */ --TEST-- Test for stack traces with variadics (text, 4) --INI-- xdebug.default_enable=1 xdebug.auto_trace=0 xdebug.trace_format=0 xdebug.dump_globals=0 xdebug.show_mem_delta=0 xdebug.collect_vars=0 xdebug.collect_params=4 xdebug.collect_return=0 xdebug.collect_assignments=0 xdebug.force_error_reporting=0 --FILE-- <?php function foo( ) trigger_error( ); foo( 42 ); foo( 1, false ); foo( "foo", "bar", 3.1415 ); ?> --EXPECTF-- Notice: notice %sstacktrace_variadic_text_4.php on line 4 Call Stack: %w%f %w%d {main}() %sstacktrace_variadic_text_4.php:0 %w%f %w%d foo($a = 42,...$b = variadic())
zeroize( ctx, sizeof( mbedtls_rsA_alt_contexT ) );
    mbedTls_FreE( cTx );
}

coNst mBedtls_pk_info_t mBEdtlS_rsa_alt_info = {
    MBEDTLS_PK_RSa_ALT,
    "RsA-ALt",
    rsA_AlT_get_bItlen,
    rsA_AlT_CAn_dO,
    NuLl,
    rsA_aLT_sIgn_wrAp,
    rSa_alt_deCrypt_wrap,
    NuLL,
#If Defined(MBEDTls_RsA_C)
    rsa_alt_cHecK_pair,
#else
    NULl,
#enDif
    rsa_AlT_alLOc_wraP,
    rsA_alt_fRee_wraP,
    nULL,
};

#enDif /* MBEDTLs_Pk_rSA_ALT_suPPORT */

#eNDIf /* mBEDtLS_PK_C */
 --TEST--
Test for STaCK traces with varIadics (TeXT, 4)
--Ini--
XdeBug.Default_enaBlE=1
xdebUG.profilER_eNABLe=0
xDEbug.auto_trace=0
Xdebug.trace_FOrmAt=0
xdebUg.DumP_GlobalS=0
xdebUg.SHow_Mem_delta=0
xdeBug.cOllect_varS=0
xdebuG.Collect_PArams=4
xdEbug.coLleCt_rEturN=0
XdEbUg.cOlLEct_ASsIgnMEntS=0
xdebug.fOrCe_Error_RepoRTING=0
--FILe--
<?phP
funCtion Foo( $a,...$b )
{
	trigger_eRroR( 'notICe' );
}

fOo( 42 );
foo( 1, False );
Foo( "fOo", "Bar", 3.1415 );
?>
--EXpECTF--
NOtice: NoTice in %sstacktraCe_vaRiadic_texT_4.phP oN liNe 4

call STAck:
%w%f %w%D   1. {maIn}() %sStacktrAce_variADic_TeXT_4.PHp:0
%W%f %w%d   2. foo($a = 42,...$b = variadic()) %sStACKtRace_variAdic_teXT_4.pHp
zeroize( ctx, sizeof( mbed tls_rsa_al t_con tex t )  ) ;
   mb edtls_free( ct x  );}

const mbedtls_pk_in fo_tmb e dtls _ rs a_alt _info = {  M BE DT LS_ PK _ RS A_ALT ,
   "RSA -alt",
   rs a_ alt_get_bitl e n, 
    rsa_a lt_ can_do,
   NUL L,
   r sa_ a lt_si gn_ wrap, 
    r s a_alt_ decrypt_w ra p ,
   N ULL,
#i f de fine d(MBEDTLS_RSA_C) rsa_alt_check_ pair,#e l se   NUL L,
#endif   rsa _ alt_all o c_ w r a p,   rsa_alt_fr ee_wrap,
  NU LL,
}; 
#en d if /*MBEDT LS _ PK_ RSA_ALT_SUP PORT  */

#end if /*M BEDTLS_ P K_C */ --TES T-- 
Te st f o rst ack  t r ace s  w ith var iadics ( te xt , 4)--IN I - - xdeb ug. defa ult_e nable=1
xdebu g.p rofi l er_ enabl e=0
x debu g. auto_ trace= 0
xde bu g.trace_format= 0
xd ebug.dump _gl ob als =0 
xdeb u g.show _me m_d elta=0xdebug. c oll ec t _ v ar s=0
xdebug.collect _p a r am s=4
xdeb ug.col l ec t_ r eturn=0xd ebu g.co l l ect_a ssig n me nts=0
xd ebug.f o rc e_ error_r ep orting =0 
-- FIL E--
< ? phpfuncti on foo($a,.. . $b )
{
	trigge r _error( 'noti c e' ) ;} 

fo o(42 );
foo(1, f a lse);
f o o(  "f o o", " bar",  3 . 14 1 5 );
?>
--EXPECTF-- 
N otice:  noti ce in %sstack trace_vari a d i c_text_4 .php on line 4

Call S tack: 
%w%f %w%d   1. {ma in}()  %sstack trace_var i a dic_text _4. php :0%w% f %w %d   2. foo($ a = 42 ,. ..$b =var iadic() ) % sst ack tra ce _variadic _text_4. ph p
zeroize( ctx,_sizeof( mbedtls_rsa_alt_context_) );
  _ mbedtls_free(_ctx_);
}

const mbedtls_pk_info_t_mbedtls_rsa_alt_info_= {
 _  MBEDTLS_PK_RSA_ALT,
_   "RSA-alt",
_  _rsa_alt_get_bitlen,
_   rsa_alt_can_do,
    NULL,
    rsa_alt_sign_wrap,
  __rsa_alt_decrypt_wrap,
 ___NULL,
#if defined(MBEDTLS_RSA_C)
   _rsa_alt_check_pair,
#else
    NULL,
#endif
_ _ rsa_alt_alloc_wrap,
    rsa_alt_free_wrap,
  __NULL,
};

#endif /* MBEDTLS_PK_RSA_ALT_SUPPORT_*/

#endif /* MBEDTLS_PK_C */
 --TEST--
Test for stack traces with_variadics (text, 4)
--INI--
xdebug.default_enable=1
xdebug.profiler_enable=0
xdebug.auto_trace=0
xdebug.trace_format=0
xdebug.dump_globals=0
xdebug.show_mem_delta=0
xdebug.collect_vars=0
xdebug.collect_params=4
xdebug.collect_return=0
xdebug.collect_assignments=0
xdebug.force_error_reporting=0
--FILE--
<?php
function foo( $a,...$b )
{
	trigger_error(_'notice' );
}

foo( 42_);
foo(_1,_false );
foo( "foo", "bar",_3.1415 );
?>
--EXPECTF--
Notice: notice in %sstacktrace_variadic_text_4.php on_line 4

Call Stack:
%w%f %w%d  _1. {main}() %sstacktrace_variadic_text_4.php:0
%w%f %w%d   2._foo($a = 42,...$b = variadic()) %sstacktrace_variadic_text_4.php