3v4l.org

run code in 300+ PHP versions simultaneously
<?php $signum = 15; var_dump( current( array_flip( array_filter( get_defined_constants(true)['pcntl'], fn($value, $name) => preg_match("/^SIG[A-Z]/", $name) && $value == $signum, ARRAY_FILTER_USE_BOTH ) ) ) );

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.5.10.0120.00716.73
8.5.00.0100.01020.32
8.4.160.0120.00923.80
8.4.150.0020.00014.05
8.4.140.0130.00817.95
8.4.130.0130.00417.93
8.4.120.0130.00720.63
8.4.110.0130.00722.68
8.4.100.0100.01017.78
8.4.90.0140.00718.17
8.4.80.0110.00918.22
8.4.70.0120.00918.11
8.4.60.0120.00917.96
8.4.50.0100.01119.84
8.4.40.0130.00617.80
8.4.30.0130.00618.74
8.4.20.0070.01418.00
8.4.10.0000.00919.71
8.3.280.0130.00918.64
8.3.270.0130.00616.90
8.3.260.0110.00816.75
8.3.250.0040.00418.93
8.3.240.0100.00916.84
8.3.230.0150.00416.91
8.3.220.0120.00616.99
8.3.210.0070.01216.73
8.3.200.0170.00316.54
8.3.190.0090.01016.71
8.3.180.0120.00818.93
8.3.170.0070.01017.24
8.3.160.0090.00920.45
8.3.150.0100.01016.93
8.3.140.0110.00717.00
8.3.130.0030.00618.57
8.3.120.0060.01320.55
8.3.110.0000.00920.94
8.3.100.0040.00424.06
8.3.90.0130.00626.77
8.3.80.0050.00518.43
8.3.70.0180.00318.68
8.3.60.0100.01018.68
8.3.50.0110.00416.85
8.3.40.0090.00620.20
8.3.30.0150.00019.08
8.3.20.0080.00024.18
8.3.10.0090.00024.66
8.3.00.0050.00326.16
8.2.290.0060.00420.51
8.2.280.0090.00818.31
8.2.270.0160.00317.08
8.2.260.0080.00018.52
8.2.250.0040.00416.73
8.2.240.0100.01020.77
8.2.230.0040.00422.58
8.2.220.0030.00637.54
8.2.210.0120.00626.77
8.2.200.0040.00416.63
8.2.190.0150.00016.89
8.2.180.0150.00316.75
8.2.170.0080.01419.09
8.2.160.0120.00322.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0070.00021.04
8.2.110.0070.00321.13
8.2.100.0220.00918.44
8.2.90.0230.00818.44
8.2.80.0200.01018.44
8.2.70.0260.00418.44
8.2.60.0260.00418.44
8.2.50.0330.00318.44
8.2.40.0160.00518.91
8.2.30.0190.00818.44
8.2.20.0180.00918.44
8.2.10.0250.00418.44
8.2.00.0160.01318.44
8.1.330.0100.00816.64
8.1.320.0100.00816.53
8.1.310.0040.01418.48
8.1.300.0150.00017.88
8.1.290.0000.00930.84
8.1.280.0070.01125.92
8.1.270.0040.00424.66
8.1.260.0000.00826.35
8.1.250.0050.00328.09
8.1.240.0060.00320.88
8.1.230.0190.00019.22
8.1.220.0280.00318.44
8.1.210.0310.00018.44
8.1.200.0190.01018.44
8.1.190.0220.00618.44
8.1.180.0310.00018.44
8.1.170.0130.01318.44
8.1.160.0190.00818.44
8.1.150.0160.01018.44
8.1.140.0230.00418.44
8.1.130.0160.01018.44
8.1.120.0230.00618.44
8.1.110.0240.00318.44
8.1.100.0260.00018.44
8.1.90.0250.00318.44
8.1.80.0250.00418.44
8.1.70.0300.00018.44
8.1.60.0230.00618.44
8.1.50.0230.00518.44
8.1.40.0250.00318.44
8.1.30.0240.00318.44
8.1.20.0180.01118.44
8.1.10.0240.00318.44
8.1.00.0290.00018.44
8.0.300.0260.00018.44
8.0.290.0260.00018.44
8.0.280.0230.00318.44
8.0.270.0210.00518.44
8.0.260.0230.00418.44
8.0.250.0180.00918.44
8.0.240.0210.00618.44
8.0.230.0200.00818.44
8.0.220.0240.00318.44
8.0.210.0240.00318.44
8.0.200.0220.00618.44
8.0.190.0210.00818.44
8.0.180.0230.00518.44
8.0.170.0210.00718.44
8.0.160.0280.00018.44
8.0.150.0300.00018.44
8.0.140.0190.00818.44
8.0.130.0270.00018.44
8.0.120.0270.00018.44
8.0.110.0260.00018.44
8.0.100.0260.00318.44
8.0.90.0210.00318.44
8.0.80.0240.00318.44
8.0.70.0270.00018.44
8.0.60.0170.00918.44
8.0.50.0210.00618.44
8.0.30.0270.00418.44
8.0.20.0170.01018.44
8.0.10.0190.00818.44

preferences:
33.58 ms | 403 KiB | 5 Q