3v4l.org

run code in 300+ PHP versions simultaneously
<?php header('content-type: text/plain'); var_dump( 'Current directory: ' . __DIR__, 'Parent directory: ' . dirname(__DIR__), 'Parent of parent directory: ' . dirname(dirname(__DIR__)) );

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.40.0070.00718.71
8.3.30.0100.00319.02
8.3.20.0070.00020.16
8.3.10.0040.00423.64
8.3.00.0020.00520.77
8.2.170.0120.00322.96
8.2.160.0000.01422.28
8.2.150.0080.00024.18
8.2.140.0030.00624.66
8.2.130.0080.00026.16
8.2.120.0040.00720.75
8.2.110.0030.00622.24
8.2.100.0070.00417.91
8.2.90.0090.00019.09
8.2.80.0040.00417.97
8.2.70.0030.00817.50
8.2.60.0000.00817.93
8.2.50.0040.00418.07
8.2.40.0000.00818.09
8.2.30.0040.00717.85
8.2.20.0040.00417.45
8.2.10.0000.00817.60
8.2.00.0040.00417.61
8.1.270.0030.00623.84
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00323.75
8.1.230.0110.00019.21
8.1.220.0060.00317.74
8.1.210.0030.00518.77
8.1.200.0000.00917.23
8.1.190.0060.00317.41
8.1.180.0050.00318.10
8.1.170.0080.00018.57
8.1.160.0040.00421.85
8.1.150.0000.00818.39
8.1.140.0040.00417.35
8.1.130.0040.00417.32
8.1.120.0030.00317.22
8.1.110.0040.00417.31
8.1.100.0000.00717.39
8.1.90.0040.00417.19
8.1.80.0070.00017.23
8.1.70.0050.00217.25
8.1.60.0090.00017.31
8.1.50.0030.00517.31
8.1.40.0000.00817.38
8.1.30.0050.00317.40
8.1.20.0000.00717.58
8.1.10.0080.00317.48
8.1.00.0040.00417.23
8.0.300.0070.00018.77
8.0.290.0000.00717.18
8.0.280.0030.00318.29
8.0.270.0000.00817.18
8.0.260.0030.00316.75
8.0.250.0070.00016.89
8.0.240.0030.00316.76
8.0.230.0000.00716.89
8.0.220.0060.00016.73
8.0.210.0000.00716.83
8.0.200.0050.00316.74
8.0.190.0080.00016.77
8.0.180.0000.00716.75
8.0.170.0000.00816.88
8.0.160.0030.00516.70
8.0.150.0070.00016.73
8.0.140.0050.00316.80
8.0.130.0000.00513.18
8.0.120.0020.00715.02
8.0.110.0000.00814.96
8.0.100.0020.00614.83
8.0.90.0020.00514.94
8.0.80.0080.00314.94
8.0.70.0000.00814.86
8.0.60.0040.00414.93
8.0.50.0040.00414.89
8.0.30.0110.00315.69
8.0.20.0090.00715.98
8.0.10.0020.00515.10
8.0.00.0070.00815.51
7.4.330.0000.00515.03
7.4.320.0000.00616.26
7.4.300.0030.00316.31
7.4.290.0000.00616.55
7.4.280.0000.00816.34
7.4.270.0080.00016.50
7.4.260.0030.00316.39
7.4.250.0030.00314.79
7.4.240.0040.00415.28
7.4.230.0060.00114.81
7.4.220.0030.01214.69
7.4.210.0100.00815.61
7.4.200.0100.00014.86
7.4.190.0060.00414.81
7.4.180.0040.00413.19
7.4.160.0020.00914.90
7.4.150.0050.00715.26
7.4.140.0080.00816.26
7.4.130.0090.00615.30
7.4.120.0080.00515.29
7.4.110.0050.00714.63
7.4.100.0060.00714.71
7.4.90.0080.00414.74
7.4.80.0050.00714.79
7.4.70.0040.01114.77
7.4.60.0040.00814.69
7.4.50.0020.00514.64
7.4.40.0070.00417.92
7.4.30.0070.00614.66
7.4.20.0030.00313.09
7.4.10.0080.00013.08
7.4.00.0040.00413.85
7.3.330.0030.00313.06
7.3.320.0020.00212.93
7.3.310.0040.00214.70
7.3.300.0030.00314.63
7.3.290.0080.00614.68
7.3.280.0100.00515.42
7.3.270.0070.00515.19
7.3.260.0030.00914.69
7.3.250.0020.01115.21
7.3.240.0070.00714.69
7.3.230.0050.00614.70
7.3.220.0060.00012.88
7.3.210.0060.00514.56
7.3.200.0060.00816.11
7.3.190.0030.00814.68
7.3.180.0100.00114.58
7.3.170.0040.00814.72
7.3.160.0070.00514.55
7.3.150.0070.00012.99
7.3.140.0000.00612.88
7.3.130.0000.00512.91
7.3.120.0060.00313.84
7.3.110.0060.00012.97
7.3.100.0000.00612.94
7.3.90.0030.00313.32
7.3.80.0000.00613.00
7.3.70.0000.00713.15
7.3.60.0050.00213.07
7.3.50.0030.00313.24
7.3.40.0000.00613.22
7.3.30.0000.00613.21
7.3.20.0070.00015.08
7.3.10.0000.00514.91
7.3.00.0060.00014.81
7.2.340.0090.00313.00
7.2.330.0130.00614.68
7.2.320.0040.01114.84
7.2.310.0090.00614.68
7.2.300.0070.00814.83
7.2.290.0110.00414.61
7.2.280.0080.00512.90
7.2.270.0120.00012.99
7.2.260.0080.00412.96
7.2.250.0100.00212.96
7.2.240.0070.00513.05
7.2.230.0130.00013.02
7.2.220.0130.00013.03
7.2.210.0090.00313.04
7.2.200.0130.00013.02
7.2.190.0080.00413.04
7.2.180.0110.00413.15
7.2.170.0120.00013.18
7.2.160.0100.00213.11
7.2.150.0140.00015.01
7.2.140.0100.00215.08
7.2.130.0100.00215.22
7.2.120.0090.00514.96
7.2.110.0120.00015.16
7.2.100.0120.00015.11
7.2.90.0100.00315.19
7.2.80.0090.00414.93
7.2.70.0130.00014.94
7.2.60.0090.00315.09
7.2.50.0100.00315.14
7.2.40.0140.00015.09
7.2.30.0130.00015.13
7.2.20.0080.00515.09
7.2.10.0130.00015.02
7.2.00.0070.00917.19
7.1.330.0060.00614.08
7.1.320.0070.00413.98
7.1.310.0090.00214.14
7.1.300.0090.00314.13
7.1.290.0100.00314.05
7.1.280.0090.00314.06
7.1.270.0130.00013.99
7.1.260.0080.00313.96
7.1.250.0080.00413.97
7.1.240.0110.00013.90
7.1.230.0060.00614.16
7.1.220.0060.00614.10
7.1.210.0110.00214.08
7.1.200.0120.00014.06
7.1.190.0120.00013.96
7.1.180.0110.00013.91
7.1.170.0110.00214.11
7.1.160.0040.00814.08
7.1.150.0040.00814.03
7.1.140.0090.00313.90
7.1.130.0060.00614.11
7.1.120.0080.00414.07
7.1.110.0100.00214.11
7.1.100.0000.01216.13
7.1.90.0090.00314.13
7.1.80.0090.00314.17
7.1.70.0080.00515.48
7.1.60.0050.01516.69
7.1.50.0080.00915.51
7.1.40.0120.00014.15
7.1.30.0120.00014.00
7.1.20.0060.00614.08
7.1.10.0080.00413.98
7.1.00.0100.03618.34
7.0.330.0000.01213.83
7.0.320.0120.00014.00
7.0.310.0120.00013.88
7.0.300.0080.00414.07
7.0.290.0120.00013.98
7.0.280.0070.00513.92
7.0.270.0060.00613.94
7.0.260.0110.00013.91
7.0.250.0130.00014.08
7.0.240.0090.00314.15
7.0.230.0120.00014.11
7.0.220.0000.01113.98
7.0.210.0000.01114.06
7.0.200.0120.00215.23
7.0.190.0110.00014.01
7.0.180.0110.00014.03
7.0.170.0090.00214.14
7.0.160.0070.00513.93
7.0.150.0120.00013.96
7.0.140.0120.03318.03
7.0.130.0080.00413.91
7.0.120.0090.00213.96
7.0.110.0120.00014.02
7.0.100.0100.04217.82
7.0.90.0080.04017.85
7.0.80.0140.01917.79
7.0.70.0070.03517.81
7.0.60.0050.03617.74
7.0.50.0080.03317.93
7.0.40.0070.04017.02
7.0.30.0070.02716.99
7.0.20.0090.04316.98
7.0.10.0080.03817.04
7.0.00.0090.03716.99
5.6.400.0060.00612.48
5.6.390.0070.00412.60
5.6.380.0040.00812.62
5.6.370.0130.00012.33
5.6.360.0090.00212.45
5.6.350.0030.00712.39
5.6.340.0110.00012.43
5.6.330.0110.00012.41
5.6.320.0070.00512.53
5.6.310.0100.00212.48
5.6.300.0040.00812.53
5.6.290.0070.00512.30
5.6.280.0110.03816.79
5.6.270.0080.00312.59
5.6.260.0100.00012.55
5.6.250.0090.02316.51
5.6.240.0090.03916.52
5.6.230.0080.04116.57
5.6.220.0080.03016.55
5.6.210.0110.03316.62
5.6.200.0120.03516.74
5.6.190.0070.04216.75
5.6.180.0070.03716.84
5.6.170.0120.03716.89
5.6.160.0090.03416.81
5.6.150.0090.03816.70
5.6.140.0090.04116.75
5.6.130.0130.02116.76
5.6.120.0050.04416.84
5.6.110.0090.04316.88
5.6.100.0050.04916.82
5.6.90.0110.02016.74
5.6.80.0080.02416.43
5.6.70.0050.03016.48
5.6.60.0100.04216.54
5.6.50.0080.04116.43
5.6.40.0100.03816.38
5.6.30.0100.03816.37
5.6.20.0110.03616.48
5.6.10.0120.02316.48
5.6.00.0090.02016.32
5.5.380.0060.04516.46
5.5.370.0050.03716.65
5.5.360.0080.04216.48
5.5.350.0060.04616.49
5.5.340.0090.03916.68
5.5.330.0080.03816.60
5.5.320.0100.04116.65
5.5.310.0110.04016.59
5.5.300.0060.03316.56
5.5.290.0090.02616.55
5.5.280.0030.02516.58
5.5.270.0070.04516.69
5.5.260.0090.04716.66
5.5.250.0060.04316.47
5.5.240.0090.04016.26
5.5.230.0090.02516.36
5.5.220.0070.04216.33
5.5.210.0100.03516.31
5.5.200.0040.03716.22
5.5.190.0080.03916.21
5.5.180.0070.04016.29
5.5.170.0080.00312.48
5.5.160.0090.02916.27
5.5.150.0030.02916.19
5.5.140.0080.04116.20
5.5.130.0090.04116.25
5.5.120.0120.03516.10
5.5.110.0070.02516.10
5.5.100.0080.03416.21
5.5.90.0040.03416.22
5.5.80.0050.02316.38
5.5.70.0040.02716.26
5.5.60.0030.02416.38
5.5.50.0060.04516.18
5.5.40.0070.04016.28
5.5.30.0070.02816.22
5.5.20.0050.03816.37
5.5.10.0070.03716.18
5.5.00.0100.01816.25
5.4.450.0060.03616.06
5.4.440.0030.02815.86
5.4.430.0040.04115.81
5.4.420.0110.03815.91
5.4.410.0070.04015.86
5.4.400.0060.04115.61
5.4.390.0050.02215.54
5.4.380.0130.03615.80
5.4.370.0060.04315.83
5.4.360.0070.04015.79
5.4.350.0120.01715.68
5.4.340.0070.03215.78
5.4.330.0060.00612.36
5.4.320.0060.02215.64
5.4.310.0090.03215.77
5.4.300.0110.03615.69
5.4.290.0130.03615.79
5.4.280.0080.03315.80
5.4.270.0120.03515.67
5.4.260.0110.03115.66
5.4.250.0090.04015.70
5.4.240.0040.04115.75
5.4.230.0090.03815.49
5.4.220.0060.03915.65
5.4.210.0100.03515.45
5.4.200.0040.02715.63
5.4.190.0090.03515.57
5.4.180.0110.03515.64
5.4.170.0040.03115.52
5.4.160.0090.03315.60
5.4.150.0060.02015.57
5.4.140.0080.02414.39
5.4.130.0130.02814.44
5.4.120.0090.03814.29
5.4.110.0090.03814.31
5.4.100.0090.02914.43
5.4.90.0080.03514.42
5.4.80.0100.02714.54
5.4.70.0100.03714.29
5.4.60.0050.02014.32
5.4.50.0050.03814.27
5.4.40.0040.02114.35
5.4.30.0070.03514.42
5.4.20.0030.04014.37
5.4.10.0020.04414.42
5.4.00.0070.03914.13
5.3.290.0080.03513.77
5.3.280.0040.04313.64
5.3.270.0040.02413.62
5.3.260.0060.04113.78
5.3.250.0070.03513.65
5.3.240.0060.04113.66
5.3.230.0060.02613.80
5.3.220.0050.03913.67
5.3.210.0040.02913.64
5.3.200.0050.01813.50
5.3.190.0090.03713.53
5.3.180.0060.01813.82
5.3.170.0090.03313.73
5.3.160.0060.02313.71
5.3.150.0060.02013.77
5.3.140.0070.03713.63
5.3.130.0040.04413.73
5.3.120.0060.03913.63
5.3.110.0050.03913.57
5.3.100.0070.02013.42
5.3.90.0050.03913.30
5.3.80.0120.02113.24
5.3.70.0070.03813.34
5.3.60.0020.03813.47
5.3.50.0070.03513.43
5.3.40.0040.03913.32
5.3.30.0050.04013.42
5.3.20.0070.03213.21
5.3.10.0050.03813.05
5.3.00.0070.02313.09
5.2.170.0060.02311.63
5.2.160.0080.02611.54
5.2.150.0030.03411.55
5.2.140.0030.03511.59
5.2.130.0050.03311.55
5.2.120.0050.03311.56
5.2.110.0080.01311.47
5.2.100.0040.02211.42
5.2.90.0020.01711.39
5.2.80.0060.01711.33
5.2.70.0020.02311.51
5.2.60.0060.01511.18
5.2.50.0080.01311.45
5.2.40.0000.01911.41
5.2.30.0030.01811.29
5.2.20.0060.01511.38
5.2.10.0040.01311.27
5.2.00.0060.01511.19
5.1.60.0030.01410.88
5.1.50.0000.01510.86
5.1.40.0000.01910.83
5.1.30.0000.01910.97
5.1.20.0050.01910.81
5.1.10.0010.01610.81
5.1.00.0030.01910.90
5.0.50.0000.02210.67
5.0.40.0050.01710.67
5.0.30.0070.01210.67
5.0.20.0000.02710.67
5.0.10.0040.01110.67
5.0.00.0000.01610.67
4.4.90.0000.01010.67
4.4.80.0010.01110.67
4.4.70.0020.00710.67
4.4.60.0010.00910.67
4.4.50.0020.00810.67
4.4.40.0020.01210.67
4.4.30.0040.00710.67
4.4.20.0040.00910.67
4.4.10.0020.00810.67
4.4.00.0000.01510.67
4.3.110.0020.01910.67
4.3.100.0020.02010.67
4.3.90.0000.00910.67
4.3.80.0020.02710.67
4.3.70.0020.01210.67
4.3.60.0020.00810.67
4.3.50.0020.00710.67
4.3.40.0020.01310.67
4.3.30.0020.01310.67
4.3.20.0020.01410.67
4.3.10.0000.01010.67
4.3.00.0000.01010.67

preferences:
67.24 ms | 400 KiB | 5 Q