svn: /pecl/newt/trunk/examples/ newt_listbox.php newt_win_menu.php redhat_netconf_example.php

From: Date: Sun, 13 Oct 2013 15:09:23 +0000
Subject: svn: /pecl/newt/trunk/examples/ newt_listbox.php newt_win_menu.php redhat_netconf_example.php
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-19868@lists.php.net to get a copy of this message
remi Sun, 13 Oct 2013 15:09:23 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=331795 Log: fix examples Call-time pass-by-reference has been removed in 5.5 Changed paths: U pecl/newt/trunk/examples/newt_listbox.php U pecl/newt/trunk/examples/newt_win_menu.php U pecl/newt/trunk/examples/redhat_netconf_example.php Modified: pecl/newt/trunk/examples/newt_listbox.php =================================================================== --- pecl/newt/trunk/examples/newt_listbox.php 2013-10-13 15:08:10 UTC (rev 331794) +++ pecl/newt/trunk/examples/newt_listbox.php 2013-10-13 15:09:23 UTC (rev 331795) @@ -2,7 +2,7 @@ newt_init (); newt_cls (); -newt_get_screen_size (&$rows, &$cols); +newt_get_screen_size ($rows, $cols); newt_open_window ($rows/2-20, $cols/2-10, 54, 20, "Choose"); $form = newt_form (); @@ -20,7 +20,7 @@ newt_form_add_component ($form, $list); newt_refresh (); -newt_form_run ($form, &$res); +newt_form_run ($form, $res); $chosen = newt_listbox_get_current($list); Modified: pecl/newt/trunk/examples/newt_win_menu.php =================================================================== --- pecl/newt/trunk/examples/newt_win_menu.php 2013-10-13 15:08:10 UTC (rev 331794) +++ pecl/newt/trunk/examples/newt_win_menu.php 2013-10-13 15:09:23 UTC (rev 331795) @@ -5,7 +5,7 @@ $options = array("eth0", "eth1", "lo"); $option = 1; - $rc = newt_win_menu("Network configuration tool", "Which interface to configure?", 30, 0, 20, 6, $options, &$option, "Ok", "Back"); + $rc = newt_win_menu("Network configuration tool", "Which interface to configure?", 30, 0, 20, 6, $options, $option, "Ok", "Back"); newt_finished (); Modified: pecl/newt/trunk/examples/redhat_netconf_example.php =================================================================== --- pecl/newt/trunk/examples/redhat_netconf_example.php 2013-10-13 15:08:10 UTC (rev 331794) +++ pecl/newt/trunk/examples/redhat_netconf_example.php 2013-10-13 15:09:23 UTC (rev 331795) @@ -6,7 +6,7 @@ newt_push_help_line (null); newt_draw_root_text (-30, 0, "(c) 1999-2002 RedHat, Inc"); - newt_get_screen_size (&$rows, &$cols); + newt_get_screen_size ($rows, $cols); newt_open_window ($rows/2-17, $cols/2-10, 34, 17, "Choose a Tool");

« previous php.pecl.cvs (#19868) next »