[PHP 8.6] Partial Function Application
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 38/100
Línea de trabajo
En el issue no se identifican archivos, pruebas ni puntos de entrada. Empieza leyendo el PHP RFC enlazado e inspeccionando cómo gestiona actualmente NetBeans las funcionalidades de las versiones del lenguaje PHP; la tarea estará terminada cuando la sintaxis de aplicación parcial de funciones de PHP 8.6 sea compatible sin regresiones.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Description
Support for the upcoming version 8.6 of PHP.
(Scheduled to be released in late November 2026)
Use case/motivation
The PHP RFC: Partial Function Application (v2) introduces a native syntax to pre-fill some arguments of a function call while leaving others open for later.
The syntax uses a ? placeholder for a single open argument (e.g., str_replace('hello', 'hi', ?)) and ... for remaining variadic arguments, completely removing the need to write verbose, custom anonymous arrow functions.
Calling a function this way returns a standard Closure object that only expects the remaining missing arguments.
This feature drastically cleans up functional-style programming, making it highly readable when using inline callbacks or chaining operations with the pipe operator.
Related issues
No response
Are you willing to submit a pull request?
No
- Lenguaje dominante
- Java
- Estrellas
- 3.1k
- Forks
- 939
- Merge medio
- 5 d 12 h
- PR fusionados (30 d)
- 23
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de apache/netbeans
-
Contribution welcome kind:feature Platform
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
apache/netbeans#9614 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
kind:bug LSP needs:triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
apache/netbeans#9548 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Editor Java kind:feature needs:triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
The main Options dialog window has buttons with OK on the left instead of on the right on LinuxAbiertokind:bug needs:triage os:linux os:macos Platform UI
Dificultad 1/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Incorrect DTD for wstcref-FilesAbiertokind:bug needs:triage
Dificultad 1/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
Todos los issues de apache/netbeans
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
portfolio-performance/portfolio#6119 ·
Los mantenedores suelen responder en 8 días
-
Bump up AWS SDK to 2.54.3Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
jenkinsci/ec2-plugin#2041 ·
-
L: github:actions L: php:composer
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
dependabot/dependabot-core#16493 ·
Los mantenedores suelen responder en 1 día
-
SHOW EDIT of a subclass for an object of its superclass: the form fails to open with AssertionErrorAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100