3v4l.org

run code in 300+ PHP versions simultaneously
<?php // https://bugs.php.net/bug.php?id=71927 error_reporting(0); // define('great','my'); $great='fantastic'; $my='my value'; echo "This is ${great }\n"; echo "This is ${ great}\n"; echo "This is ${ great }\n"; echo "This is ${great}\n";

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.0100.01016.63
8.3.60.0140.00016.63
8.3.50.0090.00921.15
8.3.40.0090.00618.79
8.3.30.0100.00618.84
8.3.20.0080.00018.78
8.3.10.0040.00419.99
8.3.00.0080.00019.68
8.2.190.0100.00718.54
8.2.180.0140.00318.18
8.2.170.0150.00322.96
8.2.160.0150.00019.18
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0040.00421.02
8.2.110.0150.00719.34
8.2.100.0040.00817.97
8.2.90.0080.00019.20
8.2.80.0050.00317.97
8.2.70.0030.00717.50
8.2.60.0060.00618.04
8.2.50.0050.00318.10
8.2.40.0000.00822.32
8.2.30.0000.00720.48
8.2.20.0050.00317.62
8.2.10.0000.00718.07
8.2.00.0000.00717.99
8.1.280.0110.00425.92
8.1.270.0050.00323.89
8.1.260.0060.00626.35
8.1.250.0050.00228.09
8.1.240.0060.00322.09
8.1.230.0070.00418.84
8.1.220.0060.00317.76
8.1.210.0040.00418.77
8.1.200.0080.00417.13
8.1.190.0040.00417.35
8.1.180.0040.00418.10
8.1.170.0040.00418.68
8.1.160.0040.00418.93
8.1.150.0050.00318.79
8.1.140.0040.00419.57
8.1.130.0030.00317.60
8.1.120.0030.00317.33
8.1.110.0040.00417.45
8.1.100.0030.00617.43
8.1.90.0000.00817.35
8.1.80.0040.00417.48
8.1.70.0000.00717.37
8.1.60.0050.00317.57
8.1.50.0070.00317.52
8.1.40.0000.00717.39
8.1.30.0080.00017.64
8.1.20.0050.00317.64
8.1.10.0000.00917.57
8.1.00.0040.00417.53
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0030.00318.37
8.0.270.0110.00017.26
8.0.260.0040.00417.25
8.0.250.0000.00717.02
8.0.240.0020.00517.03
8.0.230.0070.00016.91
8.0.220.0000.00716.91
8.0.210.0000.00716.94
8.0.200.0030.00316.89
8.0.190.0040.00417.04
8.0.180.0000.00816.98
8.0.170.0000.00716.98
8.0.160.0070.00016.92
8.0.150.0040.00416.82
8.0.140.0050.00316.95
8.0.130.0050.00013.40
8.0.120.0070.00016.89
8.0.110.0030.00516.88
8.0.100.0030.00317.00
8.0.90.0070.00016.89
8.0.80.0060.01016.94
8.0.70.0000.00716.74
8.0.60.0030.00516.96
8.0.50.0040.00416.98
8.0.30.0090.00917.20
8.0.20.0120.00817.40
8.0.10.0040.00417.05
8.0.00.0060.01216.74
7.4.330.0020.00215.08
7.4.320.0030.00316.49
7.4.300.0000.00616.50
7.4.290.0030.00316.59
7.4.280.0040.00416.58
7.4.270.0030.00316.41
7.4.260.0030.00316.57
7.4.250.0000.00716.41
7.4.240.0000.00716.48
7.4.230.0000.00816.38
7.4.220.0180.00016.46
7.4.210.0060.00716.66
7.4.200.0040.00416.62
7.4.160.0060.01216.54
7.4.150.0110.00717.40
7.4.140.0100.00717.86
7.4.130.0090.00816.54
7.4.120.0130.00816.52
7.4.110.0130.00316.68
7.4.100.0100.01016.43
7.4.90.0060.01216.46
7.4.80.0090.00919.39
7.4.70.0080.00816.59
7.4.60.0090.00716.40
7.4.50.0040.01416.41
7.4.40.0070.01016.33
7.4.30.0060.00916.62
7.4.00.0050.00914.79
7.3.330.0050.00013.30
7.3.320.0000.00513.16
7.3.310.0000.00716.13
7.3.300.0000.00716.35
7.3.290.0060.01016.23
7.3.280.0070.01116.27
7.3.270.0060.01117.40
7.3.260.0090.00916.42
7.3.250.0100.00816.48
7.3.240.0090.00816.42
7.3.230.0100.00716.57
7.3.210.0130.00616.45
7.3.200.0040.01419.39
7.3.190.0090.00916.34
7.3.180.0150.00616.29
7.3.170.0130.00416.25
7.3.160.0000.01516.33
7.3.120.0090.00614.52
7.3.110.0040.01214.69
7.3.100.0040.01514.77
7.3.90.0090.00614.76
7.3.80.0030.01014.90
7.3.70.0070.00714.82
7.3.60.0070.00714.55
7.3.50.0040.00814.59
7.3.40.0040.01114.80
7.3.30.0090.00614.71
7.3.20.0040.00816.57
7.3.10.0070.00616.57
7.3.00.0090.00616.49
7.2.330.0030.01516.64
7.2.320.0060.01216.53
7.2.310.0090.00916.68
7.2.300.0000.01716.70
7.2.290.0130.00316.65
7.2.250.0070.00714.85
7.2.240.0070.01414.87
7.2.230.0070.01114.93
7.2.220.0110.00714.83
7.2.210.0000.01514.92
7.2.200.0090.00915.18
7.2.190.0070.01114.84
7.2.180.0040.00414.62
7.2.170.0030.01214.88
7.2.130.0100.01016.84
7.2.120.0000.01416.49
7.2.110.0030.01216.75
7.2.100.0100.00016.79
7.2.90.0060.00617.10
7.2.80.0080.00616.50
7.2.70.0090.00616.89
7.2.60.0040.00916.77
7.2.50.0040.01117.00
7.2.40.0040.00816.88
7.2.30.0060.00616.68
7.2.20.0140.00016.88
7.2.10.0050.00516.78
7.2.00.0070.00716.92
7.1.330.0030.01015.66
7.1.320.0100.00315.96
7.1.310.0030.01015.65
7.1.300.0030.01015.49
7.1.290.0100.00015.90
7.1.280.0030.00715.73
7.1.270.0090.00315.71
7.1.260.0000.01315.66
7.1.250.0030.01015.61
7.1.200.0030.01215.54
7.1.70.0040.00416.98
7.1.60.0070.00317.20
7.1.00.0030.07722.44
7.0.200.0000.01616.43
7.0.60.0230.07720.07
7.0.50.0370.06720.45
7.0.40.0300.04720.38
7.0.30.0100.06320.38
7.0.20.0070.07020.36
7.0.10.0100.06320.37
7.0.00.0170.05320.35
5.6.280.0100.06720.91
5.6.210.0070.07320.71
5.6.200.0200.06021.04
5.6.190.0330.07021.05
5.6.180.0070.06321.12
5.6.170.0200.05720.93
5.6.160.0070.06321.18
5.6.150.0070.06021.07
5.6.140.0170.05721.04
5.6.130.0300.07021.08
5.6.120.0130.05721.04
5.6.110.0030.06721.17
5.6.100.0200.05021.12
5.6.90.0200.07021.06
5.6.80.0270.05320.39
5.6.70.0130.05320.52
5.6.60.0170.05320.47
5.6.50.0070.06320.51
5.6.40.0100.06020.46
5.6.30.0130.06020.48
5.6.20.0100.06320.27
5.6.10.0170.05720.44
5.6.00.0130.05720.38
5.5.350.3930.04020.40
5.5.340.0170.06320.84
5.5.330.0330.04720.94
5.5.320.0170.06020.83
5.5.310.0100.06321.00
5.5.300.0300.07020.87
5.5.290.0270.06320.84
5.5.280.0170.05320.68
5.5.270.0170.05320.84
5.5.260.0130.06020.84
5.5.250.0200.06320.71
5.5.240.0100.06020.07
5.5.230.0170.05320.25
5.5.220.0200.05020.36
5.5.210.0230.04720.21
5.5.200.0130.05320.19
5.5.190.0300.07320.13
5.5.180.0170.06020.36
5.5.160.0130.06320.18
5.5.150.0070.06020.22
5.5.140.0330.03720.22
5.5.130.0270.04720.22
5.5.120.0130.05720.18
5.5.110.0200.05320.16
5.5.100.0170.05720.12
5.5.90.0270.07020.02
5.5.80.0230.04320.14
5.5.70.0200.07320.10
5.5.60.0130.06020.07
5.5.50.0230.05720.09
5.5.40.0100.05320.10
5.5.30.0130.07020.12
5.5.20.0200.06020.23
5.5.10.0230.06320.10
5.5.00.0370.04320.22

preferences:
22.97 ms | 401 KiB | 5 Q