3v4l.org

run code in 300+ PHP versions simultaneously
<?php $filePath = 'missing_file'; $realFilePath = realpath($filePath); $fileInfo = new SplFileInfo($realFilePath); var_dump($fileInfo->getRealPath());

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.70.0120.00316.50
8.3.60.0070.01118.18
8.3.50.0070.01316.40
8.3.40.0070.01118.61
8.3.30.0110.00418.59
8.3.20.0030.00321.60
8.3.10.0060.00320.37
8.3.00.0030.00617.25
8.2.190.0130.00716.74
8.2.180.0120.00318.16
8.2.170.0110.00818.82
8.2.160.0180.00022.96
8.2.150.0070.00025.66
8.2.140.0090.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00720.75
8.2.110.0030.00620.52
8.2.100.0080.00317.59
8.2.90.0070.00020.42
8.2.80.0040.00417.97
8.2.70.0000.00817.93
8.2.60.0040.00418.16
8.2.50.0050.00318.10
8.2.40.0060.00319.13
8.2.30.0040.00419.12
8.2.20.0040.00417.91
8.2.10.0040.00419.43
8.2.00.0000.00717.95
8.1.280.0140.00725.92
8.1.270.0060.00324.66
8.1.260.0090.00026.35
8.1.250.0040.00428.09
8.1.240.0000.00923.72
8.1.230.0040.00720.72
8.1.220.0070.00317.76
8.1.210.0000.00819.03
8.1.200.0100.00017.23
8.1.190.0030.00617.22
8.1.180.0040.00418.10
8.1.170.0050.00318.49
8.1.160.0000.00718.74
8.1.150.0050.00218.80
8.1.140.0000.00718.79
8.1.130.0030.00317.32
8.1.120.0030.00617.43
8.1.110.0000.00717.39
8.1.100.0030.00417.37
8.1.90.0050.00317.33
8.1.80.0040.00417.29
8.1.70.0000.00717.44
8.1.60.0070.00017.55
8.1.50.0000.01017.50
8.1.40.0040.00417.34
8.1.30.0040.00417.57
8.1.20.0080.00017.50
8.1.10.0040.00417.52
8.1.00.0060.00317.42
8.0.300.0000.00719.95
8.0.290.0050.00316.63
8.0.280.0030.00318.38
8.0.270.0000.00716.66
8.0.260.0000.00716.66
8.0.250.0030.00316.79
8.0.240.0030.00316.86
8.0.230.0040.00416.82
8.0.220.0000.00616.83
8.0.210.0050.00316.86
8.0.200.0000.00616.89
8.0.190.0000.00716.90
8.0.180.0000.00816.85
8.0.170.0030.00516.73
8.0.160.0030.00316.72
8.0.150.0000.00816.79
8.0.140.0000.00716.67
8.0.130.0000.00613.20
8.0.120.0030.00616.66
8.0.110.0000.00816.73
8.0.100.0020.00516.71
8.0.90.0030.00316.71
8.0.80.0070.00916.77
8.0.70.0000.00716.70
8.0.60.0040.00416.62
8.0.50.0040.00416.93
8.0.30.0030.01716.98
8.0.20.0120.01216.90
8.0.10.0000.00716.83
8.0.00.0110.00916.70
7.4.330.0020.00215.55
7.4.320.0030.00316.43
7.4.300.0030.00316.48
7.4.290.0100.00016.41
7.4.280.0030.00616.52
7.4.270.0030.00316.54
7.4.260.0050.00316.42
7.4.250.0000.00716.39
7.4.240.0000.00716.41
7.4.230.0030.00316.52
7.4.220.0000.00716.46
7.4.210.0050.01116.51
7.4.200.0000.00716.65
7.4.160.0110.00716.37
7.4.140.0100.01217.86
7.4.130.0070.01116.23
7.4.120.0060.01216.45
7.4.110.0070.01116.39
7.4.100.0060.01316.26
7.4.90.0090.00816.41
7.4.80.0200.00619.39
7.4.70.0170.00616.34
7.4.60.0080.00816.38
7.4.50.0030.01316.30
7.4.40.0080.00816.04
7.4.10.0070.00714.61
7.4.00.0100.00714.90
7.3.330.0000.00512.89
7.3.320.0000.00513.05
7.3.310.0030.00316.07
7.3.300.0030.00316.13
7.3.290.0060.00016.18
7.3.280.0070.01116.13
7.3.260.0100.00916.35
7.3.240.0080.01116.29
7.3.230.0070.01016.13
7.3.210.0100.00716.58
7.3.200.0140.00716.21
7.3.190.0150.00616.30
7.3.180.0060.00916.11
7.3.170.0090.01116.41
7.3.160.0080.01316.20
7.3.130.0070.01014.53
7.3.120.0110.00714.89
7.3.110.0040.01514.84
7.3.100.0070.00714.69
7.3.90.0070.01014.61
7.3.80.0100.00714.43
7.3.70.0070.00714.61
7.3.60.0100.00714.45
7.3.50.0110.00714.70
7.3.40.0000.01314.69
7.3.30.0100.00614.85
7.3.20.0380.00515.10
7.3.10.0410.00315.08
7.3.00.0400.00715.17
7.2.330.0090.00916.36
7.2.320.0070.01116.70
7.2.310.0070.01016.45
7.2.300.0080.01516.38
7.2.290.0060.01116.57
7.2.260.0180.00314.86
7.2.250.0140.00415.05
7.2.240.0070.00715.06
7.2.230.0100.00715.08
7.2.220.0030.01614.72
7.2.210.0100.00714.67
7.2.200.0070.01414.63
7.2.190.0120.00614.81
7.2.180.0070.01014.88
7.2.170.0060.01014.58
7.2.160.0070.01014.75
7.2.150.0400.00615.40
7.2.140.0380.00815.39
7.2.130.0460.00815.43
7.2.120.0580.00815.39
7.2.110.0370.00615.23
7.2.100.0390.00615.37
7.2.90.0410.00415.37
7.2.80.0430.00215.33
7.2.70.0390.00715.40
7.2.60.0460.00315.40
7.2.50.0420.00815.40
7.2.40.0420.00715.38
7.2.30.0500.00315.26
7.2.20.0360.00715.46
7.2.10.0360.00915.33
7.2.00.0430.00515.25
7.1.330.0030.00915.81
7.1.320.0110.00715.56
7.1.310.0030.01015.81
7.1.300.0090.00915.73
7.1.290.0140.00315.86
7.1.280.0040.01115.46
7.1.270.0030.01015.75
7.1.260.0030.00615.88
7.1.250.0500.00314.35
7.1.240.0040.01115.64
7.1.230.0000.01615.82
7.1.220.0030.00715.82
7.1.210.0000.01315.56
7.1.200.0070.01015.52
7.1.190.0080.00315.60
7.1.180.0000.01315.34
7.1.170.0030.01315.62
7.1.160.0040.00815.76
7.1.150.0050.00515.86
7.1.140.0030.01015.77
7.1.130.0100.00315.81
7.1.120.0030.01315.68
7.1.110.0030.01415.80
7.1.100.0070.01015.59
7.1.90.0060.00915.50
7.1.80.0090.00615.92
7.1.70.0040.00815.65
7.1.60.0030.00915.82
7.1.50.0090.00615.91
7.1.40.0100.00315.88
7.1.30.0080.00815.47
7.1.20.0060.00315.84
7.1.10.0110.00315.52
7.1.00.0030.00615.58

preferences:
30.45 ms | 401 KiB | 5 Q