3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test_posix_isatty() { assert('function_exists("posix_isatty")'); return posix_isatty(fopen('php://memory', 'w')); } var_dump( PHP_VERSION, test_posix_isatty() );

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.3.60.0120.00316.50
8.3.50.0220.00922.05
8.3.40.0110.01118.67
8.3.30.0170.00318.58
8.3.20.0050.00220.16
8.3.10.0040.00423.68
8.3.00.0040.00419.78
8.2.180.0110.00425.92
8.2.170.0060.00918.83
8.2.160.0060.00822.96
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0000.00820.84
8.2.120.0000.00826.35
8.2.110.0130.01021.06
8.2.100.0070.00717.84
8.2.90.0050.00319.05
8.2.80.0040.00417.97
8.2.70.0080.00017.80
8.2.60.0030.00617.80
8.2.50.0000.00918.10
8.2.40.0080.00019.17
8.2.30.0050.00218.99
8.2.20.0040.00417.70
8.2.10.0000.00717.98
8.2.00.0040.00417.93
8.1.280.0070.01125.92
8.1.270.0080.00020.33
8.1.260.0000.00828.09
8.1.250.0080.00028.09
8.1.240.0050.00522.52
8.1.230.0040.00718.78
8.1.220.0000.00817.74
8.1.210.0000.00918.77
8.1.200.0030.00617.10
8.1.190.0030.00717.28
8.1.180.0060.00318.10
8.1.170.0040.00418.84
8.1.160.0070.00018.71
8.1.150.0000.00718.76
8.1.140.0090.00019.38
8.1.130.0050.00317.30
8.1.120.0040.00317.34
8.1.110.0030.00617.38
8.1.100.0080.00017.29
8.1.90.0070.00017.29
8.1.80.0070.00017.24
8.1.70.0030.00317.14
8.1.60.0000.00817.48
8.1.50.0040.00417.42
8.1.40.0030.00517.34
8.1.30.0040.00417.63
8.1.20.0040.00417.40
8.1.10.0050.00217.36
8.1.00.0050.00317.32
8.0.300.0040.00418.77
8.0.290.0080.00016.75
8.0.280.0070.00018.32
8.0.270.0030.00317.25
8.0.260.0040.00416.79
8.0.250.0070.00016.83
8.0.240.0030.00316.95
8.0.230.0040.00416.86
8.0.220.0040.00216.91
8.0.210.0020.00516.85
8.0.200.0030.00316.88
8.0.190.0080.00016.93
8.0.180.0000.00716.95
8.0.170.0040.00416.86
8.0.160.0080.00016.78
8.0.150.0070.00016.79
8.0.140.0030.00616.89
8.0.130.0030.00313.30
8.0.120.0050.00316.86
8.0.110.0040.00416.73
8.0.100.0000.00716.71
8.0.90.0040.00416.77
8.0.80.0030.01316.85
8.0.70.0000.00716.74
8.0.60.0000.00716.87
8.0.50.0000.00816.75
8.0.30.0100.01116.85
8.0.20.0110.00717.40
8.0.10.0040.00416.99
8.0.00.0120.00716.80
7.4.330.0060.00016.67
7.4.320.0030.00316.34
7.4.300.0030.00316.44
7.4.290.0000.00716.54
7.4.280.0030.00816.43
7.4.270.0040.00416.36
7.4.260.0000.00716.31
7.4.250.0000.00716.39
7.4.240.0020.00516.45
7.4.230.0000.00816.48
7.4.220.0090.00916.55
7.4.210.0050.01316.41
7.4.200.0030.00316.64
7.4.160.0110.00416.39
7.4.150.0100.00717.40
7.4.140.0100.01017.86
7.4.130.0160.00316.36
7.4.120.0090.01216.40
7.4.110.0170.00916.41
7.4.100.0080.00916.54
7.4.90.0100.00716.62
7.4.80.0110.00719.39
7.4.70.0130.00316.67
7.4.60.0090.00916.57
7.4.50.0060.00616.37
7.4.40.0070.01016.30
7.4.30.0030.01716.36
7.4.00.0090.00615.02
7.3.330.0000.00713.42
7.3.320.0080.00013.21
7.3.310.0030.00516.29
7.3.300.0030.00316.29
7.3.290.0070.00816.40
7.3.280.0110.00516.39
7.3.270.0170.00017.40
7.3.260.0130.00316.28
7.3.250.0050.01216.40
7.3.240.0050.01116.35
7.3.230.0130.00316.48
7.3.210.0070.01016.29
7.3.200.0120.00416.34
7.3.190.0130.00516.29
7.3.180.0060.00916.43
7.3.170.0060.01216.30
7.3.160.0100.00616.49
7.2.330.0230.03316.16
7.2.320.0160.00716.36
7.2.310.0090.01316.39
7.2.300.0040.01116.43
7.2.290.0130.01116.58
7.2.60.0060.00916.54
7.2.00.0060.01019.42
7.1.200.0060.00615.24
7.1.100.0080.00018.00
7.1.70.0030.01117.20
7.1.60.0090.01519.05
7.1.50.0110.00316.86
7.1.00.0000.08022.30
7.0.200.0000.00716.80
7.0.60.0030.08319.92
7.0.50.0100.04017.96
7.0.40.0130.07720.23
7.0.30.0330.07320.30
7.0.20.0330.08020.24
7.0.10.0030.04320.30
7.0.00.0100.07320.07
5.6.280.0070.03020.86
5.6.210.0100.08020.51
5.6.200.0100.06018.25
5.6.190.0170.08020.68
5.6.180.3930.03720.55
5.6.170.0370.06720.47
5.6.160.0100.07320.55
5.6.150.0100.07718.17
5.6.140.0100.07718.27
5.6.130.0070.08718.28
5.6.120.0200.04021.10
5.6.110.0030.07321.14
5.6.100.0070.07721.01
5.6.90.0070.04020.99
5.6.80.0030.04020.39
5.5.350.0230.07320.41
5.5.340.0000.04018.04
5.5.330.0000.04320.47
5.5.320.0330.04720.29
5.5.310.0100.06720.41
5.5.300.0030.06017.98
5.5.290.0100.08018.10
5.5.280.0130.06720.90
5.5.270.0070.03720.74
5.5.260.0130.06320.72
5.5.250.0170.06720.68
5.5.240.0230.07320.35

preferences:
76.16 ms | 401 KiB | 5 Q