|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-07-26 17:06 UTC] requinix@php.net
-Status: Open
+Status: Not a bug
[2018-07-26 17:06 UTC] requinix@php.net
[2018-07-26 17:22 UTC] michael_r_monteith at yahoo dot com
[2018-07-26 17:25 UTC] spam2 at rhsoft dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 18:00:02 2025 UTC |
Description: ------------ $ php -v PHP 7.2.8 (cli) (built: Jul 18 2018 10:03:03) ( ZTS MSVC15 (Visual C++ 2017) x64 ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies $sock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); error: Fatal error: Uncaught Error: Call to undefined function socket_create() in C:\Users\mmonteith\Desktop\Location Scanning\telnetserver.php:4 Stack trace: #0 {main} thrown in C:\Users\mmonteith\Desktop\Location Scanning\telnetserver.php on line 4 Test script: --------------- <?php $sock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); socket_close($sock); ?> Actual result: -------------- Should complete with no error and allow me to work with the open socket.